Note
Readme également disponible en français
This project, developed in both Java and SQL (PostgreSQL), is a medium-sized grocery store management software. It allows for stock management, customer management (loyalty program, etc.), and employee management (by the manager).
A roadmap with features to be implemented and progress is available here (in French only).
- About
- Roadmap
- Table of contents
- Installation
- Usage
- Technological stack
- Database structure
- License information
- Java 11 or higher (JDK)
- Docker (for the database)
-
Clone the repository
git clone https://github.com/maxoux53/petit-bazar.git cd petit-bazar -
Set up environment variables
Configure the following variables:PG_USER: Database usernamePG_PASSWORD: User password for the databasePG_DB: Database nameSTORE_NAME: Store name (displayed in the GUI)
You can use the
.envtemplate file, simply rename it to .env and edit the values as wanted. -
Database configuration
-
Use the compose command to create the PostgreSQL container
docker compose up -d
-
-
Run the software
- Open the project in IntelliJ
- Run the
Mainclass to start the app
You can also compile the project yourself with
javac.
(...)
- Java
- OpenJDK
- IntelliJ build system
- JFC Swing
- AWT
- PostgreSQL
- Docker
- DataGrip & Azure Data Studio (for development)
- Draw.io for the database design (ER & relational schemas)
Important
Schemas are only visible with the light theme!
Entity-Relationship (ER) diagram
This project is developed by Constant B., Adrien D. and Max N. as part of the 'Programmation orientée objet avancée' (Advanced Object-Oriented Programming) course (IG252).
The project name is inspired by Tisdo's illustrious Grand Bazar.
This project is licensed under the GNU GPL v3. For more details, please refer to the LICENSE file.