npm i express express-session cookie-parser connect-flash ejs bcrypt-nodejs body-parser mongoose morgan passport passport-local
once u're signed in It returns ur encoded pass :

I've used express-session and cookies to signin the user ...
Mongo DB has been the choosen DB bcz I found it easy and free for test however it could be also changed for whatever DB u want ...
Feel free to contact me : braian.luques2@gmail.com

