(clone repo of https://github.com/bradtraversy/node_passport_login)
This is a user login and registration app using Node.js, Express, Passport, Mongoose, EJS and some other packages.
$ npm install
$ npm start
# Or run with Nodemon
$ npm run dev
# Visit http://localhost:5000
Open "config/keys.js" and add your MongoDB URI, local or Atlas
All thanks to @bradtraversy
Video tutorial https://www.youtube.com/watch?v=6FOq4cUdH8k