Skip to content

πŸ“š LibraTrack is a Library Management System built with EF Core on .NET 9.0. It helps manage books, authors, categories, members, loans, and fines. πŸ’‘

Notifications You must be signed in to change notification settings

Michael-Moris/LibraTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š LibraTrack

A Library Management System built with .NET 9 and Entity Framework Core.
It helps libraries manage books, authors, categories, members, loans, and fines efficiently.


πŸš€ Features

  • πŸ“– 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)

πŸ› οΈ Tech Stack

  • 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

πŸ“‚ Project Structure

LibraTrack/
β”‚
β”œβ”€β”€ Configurations/ # Entity configs (Fluent API)
β”œβ”€β”€ Context/ # DbContext & Seed
β”œβ”€β”€ Helper/ # JsonSeeder & LoanManagement
β”œβ”€β”€ Models/ # Entities + Enums
β”œβ”€β”€ Migrations/ # EF Core migrations
└── Program.cs

⚑ Getting Started

1️⃣ Clone the Repo

git clone https://github.com/Michael-Moris/LibraTrack.git
cd LibraTrack

2️⃣ Open the Project

... Open the solution in Visual Studio or VS Code.

... Make sure you have .NET 9 SDK and SQL Server installed.

3️⃣ Apply Database Migrations

# Using .NET CLI
dotnet ef database update

# Or inside Visual Studio Package Manager Console
Update-Database

4️⃣ Seed & Test the Project

  • 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.


🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the project and submit a pull request.

About

πŸ“š LibraTrack is a Library Management System built with EF Core on .NET 9.0. It helps manage books, authors, categories, members, loans, and fines. πŸ’‘

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages