This is a basic illustration of adding authentication using Passport-Js on a website.
Features included->
- Passport Js
- Passport Local Mongoose
- Passport Local
- Express Session
- NodeJs
- MongoDB
- ExpressJS(ejs)
Before running the app.js file on server please make sure to run the command on terminal:
- npm install express mongoose ejs --save
- npm install body-parser --save
- npm install passport passport-local-mongoose --save
- nmp install express-session --save