Skip to content

Marymars03/LibraryMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

📚 LibraMS — Library Management System

A full-stack Library Management System built with ASP.NET Core MVC, Entity Framework Core, SQLite, and Bootstrap 5.


📸 Screenshots

Login Books Admin Dashboard Borrow Monitor My Borrows


✨ Features

Admin

  • Secure login with role-based access
  • Add, edit, and delete books
  • Upload book cover images
  • View all users and manage accounts
  • Monitor all borrow records (active, returned, overdue)
  • Dashboard with live stats (total books, users, borrows)

User

  • Browse and search the book catalog
  • Borrow available books (14-day loan period)
  • View personal borrow history with status (Active, Returned, Overdue)
  • Return borrowed books

🛠️ Tech Stack

Layer Technology
Framework ASP.NET Core 8 MVC
Database SQLite via Entity Framework Core
Authentication ASP.NET Core Identity
Frontend Bootstrap 5 + Bootstrap Icons
Language C#

🚀 Getting Started

Prerequisites

  • Visual Studio 2022
  • .NET 8 SDK

Installation

  1. Clone the repository

     git clone https://github.com/Marymars03/LibraryMS.git
    
  2. Open LibraryMS.sln in Visual Studio

  3. Open Package Manager Console and run:

     Update-Database
    
  4. Press F5 to run

Default Admin Account

    Email: admin@library.com
    Password: admin123

📁 Project Structure

    LibraryMS/
    ├── Controllers/        # BooksController, AccountController, AdminController, BorrowController
    ├── Data/               # LibraryDbContext
    ├── Models/             # Book, BorrowRecord
    ├── Migrations/         # EF Core migrations
    ├── Views/              # Razor views for all controllers
    └── wwwroot/            # Static files, uploaded covers

🔐 Roles

Role Permissions
Admin Full CRUD on books, manage users, monitor borrows
User Browse catalog, borrow and return books

📄 License

This project is licensed under the MIT License.


Built with ❤️ using ASP.NET Core MVC

About

A full-stack Library Management System built with ASP.NET Core MVC, Entity Framework Core, SQLite, and Bootstrap 5. Features role-based access control, book catalog with CRUD, borrow/return system, and an admin dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors