handles local, google and facebook authentication
This example shows local, google as well as facebook authentication. Want to make your application more secure and with easy logins and sign ups. Sit back and copy the code, let google and facebook handle authentication also know as o-authentication.
With yarn installed, run
$ yarn install
Make sure to create a variables.env file in the root directory with contents as follows :
PORT =
SESSION_SECRET =
MONGO_URL =
FACEBOOK_APP_ID =
FACEBOOK_APP_SECRET =
GOOGLE_CLIENT_ID =
GOOGLE_CLIENT_SECRET =
$ yarn start
This will start the application at port 3000
MIT