The Library Management System (LMS) is designed to efficiently manage library operations, such as book management, user registration, authentication, and transaction tracking.
The backend of the system is built using Express.js, a robust web framework for Node.js. Express facilitates the creation of RESTful API endpoints to handle user requests such as retrieving books, adding new books, and managing user data.
The system uses MongoDB, a NoSQL database, to store and manage data. MongoDB’s flexible documented structure allows for easy storage and retrieval of data
To ensure secure access to the system, JWT (JSON Web Tokens) are used for user authentication. JWT tokens are issued after a user successfully logs in, and the token is sent with each subsequent request through headers to validate the user's identity.
To protect user data, particularly passwords, the system employs password hashing using bcrypt module. This ensures , sensitive information like user passwords remains secure. The password is hashed before being stored, and during login, the hashed password is compared to the entered password for authentication.
First clone the repository
git clone https://github.com/Lavakumar1807/Library_Management_System.gitInstall dependencies
npm i express mongoose jsonwebtoken bcrypt nodemonTo start the server run this command on terminal
npm start












