An application written in NodeJS to retrieve a user's data in Github using OAuth tokens.
- Clone the directory by
git clone https://github.com/codethejason/GithubOAuth
. - Run
npm install
inside the directory you just cloned. - Create a new app with Github at https://github.com/settings/applications/new.
- Rename
config.sample.js
toconfig.js
and update the file with your GitHubclient_id
andsecret
you got from step 3. - Run
npm start
to start the server. - Go to
http://localhost:8080/
to see the application.