A robust and user-friendly management system for coffee shops, built using .NET Framework and SQL Server. This application provides comprehensive tools for both administrative management and staff operations.
| Admin Dashboard | Employee Management | Inventory Control |
|---|---|---|
![]() |
![]() |
![]() |
| Menu Management | Sales Reports | System Login |
|---|---|---|
![]() |
![]() |
![]() |
| POS Terminal | Order Confirmation | Staff Inventory |
|---|---|---|
![]() |
![]() |
![]() |
- 👔 Admin Dashboard: Full CRUD management for employees, inventory, and menu items with secure role-based access control.
- 📊 Reporting: Generate real-time sales to track business growth and staff efficiency.
- ☕ Intuitive POS: A streamlined interface for staff to process orders quickly with real-time status tracking.
- 🔐 Secure Access: Integrated authentication system featuring a
PasswordHelperfor secure user management.
CoffeeManagementSystem/
├── 📁 Forms/ # Main window containers (Login, MainForm)
├── 📁 Models/ # Core Logic & Data Access Layer
│ ├── 📁 Abstract Classes # Base logic (e.g., APerson.cs for OOP inheritance)
│ ├── 📁 Classes # Entity logic (Employee, Inventory, DatabaseHelper)
│ ├── 📁 Enum # Strongly typed constants (Gender.cs)
│ └── 📁 Interfaces # Contract-based design (ISaleable.cs)
├── 📁 UserControls/ # Modular UI Components
│ ├── 📁 AdminUserControls # Admin-only views (Inventory, Reports, Users)
│ └── 📁 EmployeeUserControl # Staff-specific views (POSControl)
├── ⚙️ App.config # Database connection strings
└── 📜 Program.cs # Application entry point
Follow these steps to get your local development environment running.
- Visual Studio (2019 or later recommended)
- .NET Framework 4.7.2
- SQL Server
- Clone the Repository
git clone https://github.com/Doeun-Panha/CoffeeManagementSystem.git
- Database Configuration
Open
App.configand update theconnectionStringto point to your local SQL Server instance:<connectionStrings> <add name="CoffeeDB" connectionString="Server=YOUR_SERVER_NAME;Database=CoffeeManagementSystem;Integrated Security=True;" providerName="System.Data.SqlClient" /> </connectionStrings>
- Build and Run
- Open
CoffeeManagementSystem.slnin Visual Studio. - Right-click the Solution and select Restore NuGet Packages to install dependencies.
- Press
F5or click the Start button to compile and launch the application.
- Open
Doeun Panha IT Graduate (RUPP) & B.Ed in English (IFL) Aspiring Developer
This project is open-source and available under the MIT License.








