Skip to content

Repository files navigation

Swapp Desktop

A desktop application for managing a shop, built with Java and Swing.

What it does

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

Tech stack

  • Java (Swing for the UI)
  • MySQL (database)
  • iTextPDF (invoice generation)
  • NetBeans (IDE)

Requirements

  • Java 8 or higher
  • MySQL server running locally
  • The database must be set up before launching the app

Getting started

  1. Clone the repository

    git clone https://github.com/your-username/swapp-desktop.git
  2. Set up your MySQL database and configure the connection in Parametres.dat

  3. 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
  4. Log in with your credentials on the login screen

Project structure

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.)

Notes

This is one of my first Java projects. Feedback is welcome.

About

A Java Swing desktop app for small shop management. Handles clients, articles, orders, repairs, invoices (PDF), and user authentication. Data is stored in MySQL and sensitive config files are AES-encrypted. Built with an MVC pattern.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages