Simple Node.js login using a mongodb database, passport.js and bcrypt.js
- Install MongoDB
- Create a new database called with
use nodeauth(This name can be changed in themodels/user.jsfile) - Create a Collection with
db.createCollection('users')
Run the app with
npm start
You can now access your webpage on localhost:3000


