=> Run below command to run the app: node index.js
=> Using Passport.js library of NodeJS, app includes sign-up with google, facebook and Github functionality,
=> The controller file 'google-auth.js' contains all the code for authentication with google feature.
Steps for OAuth:
- First I need to create a app that will give me client ID, secret key and redirect URI from developer console(Google/facebook/github).
- Install and import required packages.
- Pass these three parameters to Google Strategy.
- Implement the code.