Skip to content

JuliaMatejko/GithubApp

Repository files navigation

GithubApp

GitHub API / OAuth / Octokit.net

Application

This app gets informations about user repositories (repository name and used languages) from GitHub API and calculates percentage of language usage among all repositories.

Application start-up instruction on localhost

  1. Download repository content

  2. Register an application at https://github.com/settings/applications/new to get values for clientId and clientSecret HomeController fields. (For more information check: https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app)

  1. Create CLIENT_ID and CLIENT_SECRET user enviroment variables.

  2. Set user enviroment variables values with the values from your application registration.

  3. After changing enviroment variables you might need to restart Visual Studio and start-up application again, because it doesn't detect changes to the environment variables while it is running.

Screenshot

githubapp