Project Overview
Project Name: Maids.cc Library Management System
Description
The Maids.cc Library Management System is a robust API built using Spring Boot. It facilitates efficient management of books, patrons, and borrowing records in a library setting. Librarians can easily handle book additions, updates, and removals, as well as patron management and borrowing transactions.
Entities
Book: Represents information about each book in the library, including attributes such as ID, title, author, publication year, ISBN, etc. Patron: Contains details about library patrons, including ID, name, contact information, etc. Borrowing Record: Tracks the association between books and patrons, including borrowing and return dates.
API Endpoints
Book Management Endpoints:
GET /api/books: Retrieve a list of all books.
GET /api/books/: Retrieve details of a specific book by ID.
POST /api/books: Add a new book to the library.
PUT /api/books/: Update an existing book's information.
DELETE /api/books/: Remove a book from the library.
Patron Management Endpoints:
GET /api/patrons: Retrieve a list of all patrons.
GET /api/patrons/: Retrieve details of a specific patron by ID.
POST /api/patrons: Add a new patron to the system.
PUT /api/patrons/: Update an existing patron's information.
DELETE /api/patrons/: Remove a patron from the system.
Borrowing Endpoints:
POST /api/borrow//patron/: Allow a patron to borrow a book.
PUT /api/return//patron/: Record the return of a borrowed book by a patron.