A Library Management System built with .NET 9 and Entity Framework Core.
It helps libraries manage books, authors, categories, members, loans, and fines efficiently.
- π Manage Books (CRUD with categories and authors)
- π₯ Manage Members (registration, status: Active/Suspended)
- π Categories & Authors management
- π Borrow & Return system with due dates
- π° Automatic Fine calculation for overdue/damaged books
- π Search books by title, author, or category
- π Database Seeding from JSON (Authors, Books, Categories, Members)
- Backend: ASP.NET Core 9, EF Core
- Database: SQL Server
- ORM: Entity Framework Core (Code-First + Migrations)
- Seeding: JSON Seeder &
LibraryDbContextSeed - Helpers: LoanManagement for borrowing/returning logic
LibraTrack/
β
βββ Configurations/ # Entity configs (Fluent API)
βββ Context/ # DbContext & Seed
βββ Helper/ # JsonSeeder & LoanManagement
βββ Models/ # Entities + Enums
βββ Migrations/ # EF Core migrations
βββ Program.cs
git clone https://github.com/Michael-Moris/LibraTrack.git
cd LibraTrack... Open the solution in Visual Studio or VS Code.
... Make sure you have .NET 9 SDK and SQL Server installed.
# Using .NET CLI
dotnet ef database update
# Or inside Visual Studio Package Manager Console
Update-Database-
The project includes JSON seeding for Authors, Books, Categories, and Members.
-
To test features (borrowing, returning, fines, etc.), uncomment or add code in Program.cs and run.
Contributions, issues, and feature requests are welcome! Feel free to fork the project and submit a pull request.