Devsoc-BPGC / pmt-backend

Official repo for DevSoc Project Mgt Tool (Mello). Join the Slack channel to contact us
MIT License
1 stars 11 forks source link

Controller for Github sign in #39

Closed Sarvesh67 closed 4 years ago

Sarvesh67 commented 4 years ago

Describe the solution you'd like

  1. An API for extracting user information from Github using accessToken/idToken as its parameter.
  2. Sign the user up if he's new, else log him in.
  3. Use appropriate middleware wherever necessary.
  4. Add the data extracted in users database.

Additional context

Docs for Github API: https://developer.github.com/v3/

Location of controller src/api/controllers