The Library Management System is a full-stack application that manages users, books, transactions, and more. It consists of a backend API and a frontend web application.
The frontend application is a user-friendly interface for interacting with the Library Management System. It allows users to manage books, view transactions, and perform other tasks through a web-based interface.
The backend API provides endpoints for managing users, books, and transactions. The API is hosted on:
https://library-management-nu-seven.vercel.app/api/v1
For detailed documentation on the available endpoints, please refer to the Backend API Documentation.
/users/allusers
GET
http://localhost:8000/api/v1/users/allusers
/books/allbooks
GET
https://library-management-nu-seven.vercel.app/api/v1/books/allbooks
/books/search/name
GET
query
: The search term.https://library-management-nu-seven.vercel.app/api/v1/books/search/name?query=The
/books/search/rent
GET
min
: Minimum rent.max
: Maximum rent.https://library-management-nu-seven.vercel.app/api/v1/books/search/rent?max=2
/books/search/global
GET
category
: Book category.query
: Search term.min
: Minimum rent.max
: Maximum rent.https://library-management-nu-seven.vercel.app/api/v1/books/search/global?category=Fantasy&query=the&min=1.5&max=2
/books/categories
GET
https://library-management-nu-seven.vercel.app/api/v1/books/categories
/transactions/issue
POST
bookName
: The name of the book.userId
: The ID of the user.issueDate
: The date the book is issued.https://library-management-nu-seven.vercel.app/api/v1/transactions/issue
/transactions/return
POST
bookName
: The name of the book.userId
: The ID of the user.returnDate
: The date the book is returned.https://library-management-nu-seven.vercel.app/api/v1/transactions/return
/transactions/book
GET
bookName
: The name of the book.https://library-management-nu-seven.vercel.app/api/v1/transactions/book?bookName=The%20Great%20Gatsby
/transactions/book/rent
GET
bookName
: The name of the book.https://library-management-nu-seven.vercel.app/api/v1/transactions/book/rent?bookName=The%20Great%20Gatsby
/transactions/users/book
GET
bookName
: The name of the book.https://library-management-nu-seven.vercel.app/api/v1/transactions/users/book?bookName=The%20Alchemist
/transactions/user/:userId
GET
https://library-management-nu-seven.vercel.app/api/v1/transactions/user/66e0342a9a94ae1b216754a1
/transactions/alltransactions
GET
https://library-management-nu-seven.vercel.app/api/v1/transactions/alltransactions