An Example of Authentication with Node.js, Express.js, Passport and MongoDB
This source code of an example of Node.js, Express.js Passport and MongoDB. Have three ways of authentication for Google, Facebook and passport-local-mongoose using Passport.
To run locally you need to have Node installed:
Clone this repo
Open the terminal in the correct path
Run npm install
Update the Secrets as instructed in the comments
Run Node app.js