How to implement local authentication using Passport, Node.js, Express, and MongoDB.
- Clone repo
- Run
npm install - Using Mongo CLI, create a database named testDb.
- Run the app with:
node index.js - Navigate to localhost:3000.
- First sign up first and login.
Ref Tutorial URL: https://www.sitepoint.com/local-authentication-using-passport-node-js/