Library API Project
Overview
A fully functional Library Management System built with FastAPI, MongoDB, and a custom React frontend. The system supports user login, book borrowing/returning, admin CRUD controls, and JWT-based authentication.
Authentication
Every route is protected with role-based access using JWT tokens. The Swagger docs UI lets you test endpoints while handling token-based access headers. Admin and user roles are clearly defined at login.
Live MongoDB Integration
All book and user data is stored in a live MongoDB Atlas cluster. The FastAPI backend reads, writes, and updates collections in real-time with automatic validation and data model enforcement.
UI: Borrow & Recommend
Users can view borrowed books and receive dynamic reading suggestions. The recommendation system uses a simple logic-based engine to offer book suggestions based on previous borrow history.
Admin Dashboard
Admins have full access to manage books and users, including adding new books, editing entries, and deleting records. UI feedback clearly displays book status and ownership per user.