Skip to content

mitulvaghamshi/github_client

Repository files navigation

GitHub Client

Flutter desktop app that accesses GitHub APIs to retrieve your repositories, assigned issues, and pull requests. In accomplishing this task, you'll create and use plugins to interact with native APIs and desktop applications, and use code generation to build type safe client libraries for GitHub's APIs. Source

Checkout original Google Codelab Write a Flutter desktop application written by @brettmorgan.

How to run the app

  • Register an OAuth2 app with repo and read:org scopes on GitHub.
  • Copy Client ID and Client Secret from the OAuth2 app to .env file:
CLIENT_ID=<client-id>
CLIENT_SECRET=<client-secret>
  • CAUTION: Do not commit .env file to VCS.
  • Finally run the app as:
flutter run -d macos --dart-define-from-file=.env

GitHub Public Schema

Preview

About

A Flutter app that utilizes GitHub OAuth2 and the GitHub API with GraphQL to access repositories, issues, and pull requests.

Resources

License

Stars

Watchers

Forks

Contributors