🖐 Hi there, here I've built a secure login app using node.js + express.js + mongodb. I've covered all the fundamental security features that an app MUST have to allow its users to securely login(see below security features). Feel free to use this code and work around it. Hope you got the insights!
- csurf - CSRF attack
- bcryptjs - Password hashing
- express-validator - Input validation
- connect-mongodb-session - session storage
- mongodb - mongodb cluster
- mongoose - ODM
- express - node.js framework
- URL: Node.js secure login app
- Email-ID: user@gmail.com
- Password: qwerty@123
- Well, first clone or download this repo.
- Create a cluster in mongodb Atlas, and then create a collection, and get your access URL to your cluster's database and paste it in app.js for MONGODBURL variable.
- Run "npm install" to install dependent packages for the app.
- Now, you're ready to go!
Please give me a star⭐ to this repo, I'll be happy😊.

