A desktop application for managing a shop, built with Java and Swing.
Swapp Desktop lets you run the day-to-day operations of a small shop from a single interface:
- Clients: add, edit, search, and delete customers, including their address and purchase voucher
- Articles: manage your product catalog with serial numbers, condition, stock, and pricing
- Orders: track customer orders and link them to clients
- Repairs: log and follow up on repair requests
- Purchases: record material purchases for restocking
- Invoices: automatically generate PDF invoices
- Dashboard: get a quick overview of activity and recent notifications
- Users: manage who can log in and access the app
- Java (Swing for the UI)
- MySQL (database)
- iTextPDF (invoice generation)
- NetBeans (IDE)
- Java 8 or higher
- MySQL server running locally
- The database must be set up before launching the app
-
Clone the repository
git clone https://github.com/your-username/swapp-desktop.git
-
Set up your MySQL database and configure the connection in
Parametres.dat -
Open the project in NetBeans (the IDE used to build this project) and build it, or run the JAR directly:
java -jar dist/Swapp_Graphique.jar
-
Log in with your credentials on the login screen
src/
├── swapp/graphique/
│ ├── Controle/ # Controllers and database models
│ └── Security/ # File-based storage (users, cart, settings)
└── swapp_graphique/
├── Modeles/ # Data classes (Client, Article, Order...)
└── Vue/ # Swing windows (Dashboard, Login, etc.)
This is one of my first Java projects. Feedback is welcome.