Skip to content

patmat511/Library-MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library MVC Application

This application is a web-based book rental system developed using ASP.NET Core MVC. It enables users to browse a collection of books, categorized by genre or type, and perform essential operations such as renting and returning books. Administrators can manage the library by adding new books, editing existing entries, assigning categories, and removing outdated records.

This project serves as a practical demonstration of how to implement separation of concerns using MVC architecture, repositories, and services within a single ASP.NET Core application.

flowchart TD
  subgraph Client
    A[User / Browser]
  end

  subgraph MVC
    B[Controller]
    C[Service]
    D[Repository]
    E[View]
    F[Model]
  end

  A --> B
  B --> C
  C --> D
  D --> E
  E --> A
  C --> F
  D --> F
  B --> E
  B --> F
Loading

How to Run the Application

1. Clone the repository

git clone https://github.com/patmat511/Library-MVC.git
cd Library-MVC

2. Configure the database connection

Edit the appsettings.json file and set your connection string:

"ConnectionStrings": {
  "DefaultConnection": "Server=localhost;Database=LibraryDb;Trusted_Connection=True;TrustServerCertificate=True;"
}

3. Apply database migrations

dotnet ef database update

If you don’t have EF CLI installed:

dotnet tool install --global dotnet-ef

4. Run the application

dotnet run

About

The Library MVC Application is a modern web-based book rental system built with ASP.NET Core MVC. This project was created to provide a scalable solution for managing book rentals, categorizing books, and tracking user interactions within a simple, easy-to-use interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages