/gh-viewer-server

Primary LanguageJavaScriptMIT LicenseMIT

GH Viewer authentication server

GitHub OAuth server for the demo GH Viewer app.

Prerequisites

Go to https://github.com/settings/developers and register a new application.

Installation using now

Deploy to now

You'll need to set the CLIENT_ID and CLIENT_SECRET config variables according to your application values, and the SCOPE by default to user:follow read:org.

Installation using Heroku

Deploy to Heroku

You'll need to set the CLIENT_ID and CLIENT_SECRET config variables according to your application values.

Manual installation

Requires node v7+

yarn install
CLIENT_ID=[your client ID] CLIENT_SECRET=[your client secret] SCOPE='user:follow read:org' yarn start

License

MIT
See LICENSE file.