The Library Management System (LMS) is a web-based application designed to help libraries efficiently manage books, users, borrowing records, and overdue book reports. The system provides functionalities for librarians to oversee inventory and for users (readers) to search, borrow, return, and review books.
Sukhjinder, Fabian, Samuel, Duan.
- User Authentication & Role Management: Secure login with roles for Librarians (manage inventory, users) and Readers (borrow, review books).
- Book Management: CRUD operations (Add, Edit, Delete, Search) with categorization by subject, author, availability, and rating.
- Borrow & Return Books: Track loan durations and automate due date calculations.
- Fine Calculation: Automated fines for late returns.
- Book Reviews & Ratings: Users can rate and review books; system displays popular books based on ratings.
- Statistics & Reports: Generate reports for most borrowed books, overdue books, and user activity.
The system uses the following tables:
- Author: Stores author details.
- Subject: Categorizes books by subject.
- Book: Contains book information (ISBN, name, synopsis, etc.).
- BookAuthor: Maps books to authors (many-to-many relationship).
- User: Stores user details (readers and librarians).
- Editorial: Tracks publishing companies.
- Edition: Manages book editions.
- Loan: Records book loans.
- LoanDetail: Tracks individual books within a loan.
- Rating: Stores user ratings and reviews for books.
- Frontend: ASP.NET MVC, Razor Pages, Bootstrap
- Backend: ASP.NET Core, C#
- Database: SQL Server
- Authentication: Identity Framework (JWT-based authentication)
-
Prerequisites:
- .NET Core SDK
- SQL Server
- Visual Studio (recommended)
-
Setup:
- Clone the repository.
- Restore NuGet packages.
- Update the connection string in
appsettings.jsonto point to your SQL Server instance. - Run database migrations to create the schema.
- Start the application.
-
Default Accounts:
- Librarian:
admin@library.com(password: Admin123!) - Readers: Register an account using the registration function.
- Librarian:
- Librarians: Log in to manage books, users, and view reports.
- Readers: Log in to search, borrow, return, and review books.






