Skip to content

waqas1412/Bulky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Bulky - ASP.NET Core MVC Bookstore Management System

.NET ASP.NET Core Entity Framework License

A modern, scalable bookstore management system built with ASP.NET Core MVC, featuring a clean architecture with repository pattern, Entity Framework Core, and a responsive Bootstrap UI.

✨ Features

  • πŸ“– Category Management: Full CRUD operations for book categories
  • πŸ—οΈ Clean Architecture: Separation of concerns with layered architecture
  • πŸ—„οΈ Repository Pattern: Abstraction layer for data access
  • 🎨 Modern UI: Responsive design with Bootstrap 5 and custom styling
  • βœ… Form Validation: Client and server-side validation
  • πŸ”” Toast Notifications: User-friendly success/error messages
  • πŸ“± Mobile Responsive: Optimized for all device sizes

πŸ—οΈ Architecture

Bulky/
β”œβ”€β”€ πŸ“ BulkyWeb/                 # Main MVC Web Application
β”‚   β”œβ”€β”€ πŸ“ Controllers/          # MVC Controllers
β”‚   β”œβ”€β”€ πŸ“ Views/               # Razor Views
β”‚   β”œβ”€β”€ πŸ“ wwwroot/            # Static Files (CSS, JS, Images)
β”‚   └── Program.cs             # Application Entry Point
β”œβ”€β”€ πŸ“ Bulky.DataAccess/        # Data Access Layer
β”‚   β”œβ”€β”€ πŸ“ Data/               # DbContext and Migrations
β”‚   β”œβ”€β”€ πŸ“ Repository/         # Repository Pattern Implementation
β”‚   └── πŸ“ Migrations/         # Entity Framework Migrations
β”œβ”€β”€ πŸ“ Bulky.Models/            # Domain Models
└── πŸ“ Bulky.Utility/           # Utility Classes and Constants

πŸš€ Technology Stack

  • Backend: ASP.NET Core 8.0 MVC
  • Database: SQL Server with Entity Framework Core 8.0
  • Frontend: Bootstrap 5, jQuery, Toastr.js
  • Architecture: Repository Pattern, Dependency Injection
  • Validation: Data Annotations, Client-side validation

πŸ“‹ Prerequisites

Before running this application, make sure you have the following installed:

πŸ› οΈ Installation & Setup

1. Clone the Repository

git clone https://github.com/yourusername/Bulky.git
cd Bulky

2. Database Setup

  1. Update Connection String in BulkyWeb/appsettings.json:
{
  "ConnectionStrings": {
    "DefaultConnection": "Server=localhost;Database=Bulky;Trusted_Connection=true;TrustServerCertificate=true"
  }
}
  1. Run Entity Framework Migrations:
cd BulkyWeb
dotnet ef database update

3. Run the Application

cd BulkyWeb
dotnet run

The application will be available at:

πŸ“– Usage

Category Management

  1. View Categories: Navigate to /Category to see all categories
  2. Create Category: Click "Create New Category" and fill in the form
  3. Edit Category: Click the "Edit" button next to any category
  4. Delete Category: Click the "Delete" button and confirm

Features Overview

  • Responsive Design: Works seamlessly on desktop, tablet, and mobile
  • Real-time Validation: Instant feedback on form inputs
  • Toast Notifications: Success and error messages with smooth animations
  • Bootstrap Icons: Modern iconography throughout the interface

πŸ›οΈ Project Structure

Models (Bulky.Models/)

  • Category.cs - Category entity with validation attributes
  • ErrorViewModel.cs - Error handling model

Data Access (Bulky.DataAccess/)

  • ApplicationDbContext.cs - Entity Framework DbContext
  • Repository pattern implementation with generic and specific repositories
  • Entity Framework migrations for database schema management

Web Application (BulkyWeb/)

  • MVC controllers with dependency injection
  • Razor views with Bootstrap styling
  • Static files (CSS, JavaScript, images)

πŸ”§ Configuration

Database Configuration

The application uses Entity Framework Core with SQL Server. The connection string is configured in appsettings.json.

Dependency Injection

Services are registered in Program.cs:

  • ApplicationDbContext - Database context
  • ICategoryRepository - Category repository interface
  • CategoryRepository - Category repository implementation

🎨 UI/UX Features

  • Modern Design: Clean, professional interface with custom color scheme
  • Responsive Layout: Bootstrap 5 grid system for mobile-first design
  • Interactive Elements: Hover effects, smooth transitions, and animations
  • Accessibility: Semantic HTML and ARIA attributes
  • Toast Notifications: Non-intrusive success/error feedback

πŸ§ͺ Testing

To run tests (if implemented):

dotnet test

πŸ“¦ Deployment

Local Development

dotnet run --environment Development

Production

dotnet publish -c Release

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

πŸ“ž Support

If you have any questions or need help, please:


Made with ❀️ using ASP.NET Core

Stars Forks Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors