This is a Book Store Web Application built using ASP.NET Core MVC with N-Tier Architecture. The project aims to provide an online platform to manage and sell books, including categories, authors, and book information.
- ASP.NET Core MVC (.NET 8)
- Entity Framework Core
- SQL Server
- Bootstrap 5
- HTML, CSS
- JavaScript
- jQuery
- Dependency Injection
- Repository Pattern
- N-Tier Architecture
- AutoMapper
- Microsoft Identity
The project follows the N-Tier Architecture which consists of three layers:
- ASP.NET Core MVC
- Razor Views
- Bootstrap for UI Design
- JavaScript for client-side interactions
- Service Layer
- Data Transfer Objects (DTO)
- Business Validation
- Entity Framework Core
- Repository Pattern
- SQL Server Database
- User Authentication (Login, Register)
- Manage Books (CRUD)
- Manage Categories
- Shopping Cart
- Order Management
- Responsive Design with Bootstrap
- Client-Side Validation
- Pagination
- Search Functionality
-
Clone the repository:
git clone https://github.com/duongminh318/Bulky_MVC_myweb.git
-
Navigate to the project folder:
cd bookstore
-
Configure the appsettings.json file:
"ConnectionStrings": { "DefaultConnection": "Server=YOUR_SERVER_NAME;Database=BookStoreDB;User Id=sa;Password=YOUR_PASSWORD;" }
-
Apply Migrations:
dotnet ef database update
-
Run the application:
dotnet run
-
Open the browser and navigate to:
http://localhost:5000
├── BulkyWeb (Presentation Layer)
├── Bulky.Business (Business Logic Layer)
├── Bulky.DataAccess (Data Access Layer)
└── Bulky.Models (Models & DTOs)
Contributions are welcome! Feel free to submit pull requests.
This project is licensed under the MIT License.