Skip to content

Lavakumar1807/Library_Management_System

Repository files navigation

Library_Management_System

Overview

The Library Management System (LMS) is designed to efficiently manage library operations, such as book management, user registration, authentication, and transaction tracking.

Backend Framework (Express.js)

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.

Database (MongoDB)

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

Authentication

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.

Password Security

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.

Instructions

First clone the repository

git clone https://github.com/Lavakumar1807/Library_Management_System.git

Install dependencies

npm i express mongoose jsonwebtoken bcrypt nodemon

To start the server run this command on terminal

npm start
Available Books
/books

availablebooks.png

Book Borrow
/reader/books/borrow

bookborrow.png

Book Deletion
/books/delete/:id

bookdeletion.png

Book Return
/reader/books/return

bookreturn.png

Book Updation
/books/update/:id

bookupdate.png

Create New Book
/books/create

createbook.png

Author Books
/books/author/:id

authorbooks.png

Reader Borrowed Books
/reader/books/:id

readerborrowedbooks.png

Reader Profile Creation
/reader/profile

readerprofile.png

Token Validation
/users/session/validate

tokenvalidation.png

User Deletion
/users/delete/:id

userdeletion.png

User Login
/users/login

userlogin.png

User Signup
/users/signup

usersignup.png

User Updation
/users/update/:id

userupdation.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published