Node.
js Authentication System Project Report
Project Title
Authentication System using [Link], [Link] and MongoDB
Objective
Develop a secure web application with Signup, Login, CRUD operations and JWT authentication.
Software Used
VS Code, [Link], [Link], MongoDB Community Server, MongoDB Compass, Mongoose,
bcrypt, JSON Web Token, cookie-parser, Postman, Git (optional).
Modules
Signup, Login, CRUD, JWT Authentication, Protected Profile, Logout, Middleware Logging.
Folder Structure
[Link], models/[Link], routes/[Link], public/[Link], [Link], [Link], [Link],
[Link], [Link]
Main npm Packages
express, mongoose, bcrypt, jsonwebtoken, cookie-parser
Execution Steps
npm install; npm install express mongoose bcrypt jsonwebtoken cookie-parser; node [Link]; open
localhost:3000
Authentication Flow
Signup -> Password hashed with bcrypt -> MongoDB. Login -> Verify password -> Generate JWT
-> Store token in cookie -> Access protected profile -> Logout clears cookie.
CRUD
Create user, Read users, Update user, Delete user using Express routes and MongoDB.
Conclusion
The project demonstrates a complete beginner-friendly backend application implementing CRUD
operations, secure authentication using JWT and bcrypt, MongoDB integration, Express routing,
middleware, and protected routes.