Loading repository data…
Loading repository data…
HossamSaberr / repository
Point of Sale (POS) desktop application built with Java Swing and MySQL. Supports inventory management, product cataloging, order processing, and multi-role access for managers and sales staff.
This is a Point of Sale (POS) system developed using Java Swing for the frontend and MySQL for data management. It provides a complete workflow for managing retail operations, including inventory tracking, sales processing, and analytics.
Manager accounts have full control over the store's data:
Designed for speed and ease of use during checkout:
You need Java JDK 17, MySQL Server, and Maven installed on your machine.
Import the provided SQL schema into your MySQL instance:
sudo mysql < pos_system.sql
Credentials and connection details can be updated in:
src/main/java/jdbc/DbConnection.java
Use Maven to compile and launch the application:
mvn clean compile exec:java -Dexec.mainClass="main.Main"
| Role | Username | Password |
|---|---|---|
| Manager | admin | admin |
| Assistant | staff | staff |
src/main/java/
├── main/ # Application entry point
├── modal/ # Business logic
│ ├── process_order/
│ ├── products/
│ └── users/
├── jdbc/ # Database access
├── ui/ # Swing GUI
│ ├── assistant/
│ └── manager/
git checkout -b feature/new-feature)git commit -m 'Add new feature')git push origin feature/new-feature)