这是indexloc提供的服务,不要输入任何密码
Skip to content

kasunvimarshana/BookHaven

Repository files navigation

BookHaven - Bookstore Management System

BookHaven Logo
A comprehensive bookstore management system built with C# and Windows Forms.

📌 Table of Contents

📖 Overview

BookHaven is a desktop application designed for bookstore owners to manage books, customers, sales transactions, orders, and suppliers efficiently. The system provides authentication, role-based access, reporting, and analytics features.

✨ Features

  • 📚 Book Inventory Management
  • 👥 Customer Management
  • 💰 Sales and Orders Management
  • 📊 Admin Dashboard with Reports
  • 🔑 Authentication & Role-based Access
  • 🔍 Search and Filter Options
  • 🔄 Data Backup & Restore Support
  • 📈 Sales Analytics

🛠 Technologies Used

  • C# .NET (WinForms)
  • MSSQL Database
  • LiveCharts for Data Visualization

🚀 Installation Guide

Prerequisites:

  • Install .NET 7.0 SDK or later
  • Install Microsoft SQL Server and SQL Server Management Studio (SSMS)

Steps:

  1. Clone the repository:
    git clone https://github.com/kasunvimarshana/BookHaven.git
  2. Open BookHaven.sln in Visual Studio.
  3. Restore NuGet packages:
    dotnet restore
  4. Configure the database:
    • Open BookHavenDB.mdf in SQL Server
    • Run the necessary migrations
  5. Build and run the project:
    dotnet build
    dotnet run

🏛 Database Schema

The system uses an MSSQL database with the following tables:

  • Users
  • Books
  • Customers
  • Orders
  • OrderDetails
  • Sales
  • Suppliers

🏗 Architecture

The system follows a three-layered architecture (MVC-based design):

  • Presentation Layer: Windows Forms (UI)
  • Business Logic Layer (BLL): Handles business logic
  • Data Access Layer (DAL): Database interaction

System Architecture

UML Diagrams

The following UML diagrams illustrate the system design:

Entity-Relationship Diagram (ERD)

ER Diagram

Class Diagram

Class Diagram

Use Case Diagram

Use Case Diagram

Sequence Diagram

Sequence Diagram

📸 Screenshots

Below are screenshots of the application:

Login Screen

Login Screen

Admin Dashboard

Admin Dashboard

Book Inventory Management

Book Inventory

Customer Management

Customer Management

Sales Transactions

Sales Transactions

📜 License

This project is licensed under the MIT License. See the LICENSE.md file for details.

👨‍💻 Contributors

  • Kasun Vimarshana - Developer

📞 Contact

For any queries, feel free to reach out:

About

BookHaven

Resources

License

Stars

Watchers

Forks

Packages

No packages published