Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OUARAS-khelil-Rafik authored Mar 2, 2024
1 parent b201eb8 commit c67e922
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# GestionMedicamentsPharmacie

## Description
GestionMedicamentsPharmacie is an application for managing the acquisition of medicines in a pharmacy. It allows users to add, modify, search, and delete medicines from the database.

## Features
- **Add Medicine:** Users can add a new medicine by providing information such as code, name, price, date, and quantity.
- **Modify Medicine:** Existing medicines can be modified by updating their information.
- **Search Medicine:** Users can search for medicines based on their code.
- **Delete Medicine:** Medicines can be removed from the database using their code.
- **Dashboard:** Provides a dashboard with a list of medicines and the ability to filter them based on quantity.

## Technologies Used
- **Java:** The main programming language for the application.
- **Swing:** Used for creating the graphical user interface.
- **MySQL:** Database management system for storing medicine information.
- **JDBC:** Java Database Connectivity for connecting and interacting with the MySQL database.
- **rs2xml.jar:** External library for converting database results into a format compatible with Swing JTable.

## Installation
1. Import the included SQL file `ihm.sql` into your MySQL database.
2. Add the `mysql-connector-j-8.0.31.jar` and `rs2xml.jar` to your project's classpath.

## Usage
1. Run the `Main.java` file to start the application.
2. The main dashboard allows you to search for medicines based on quantity and displays a list of medicines.
3. Navigate to the "Nouveau" section to add a new medicine.
4. Click on a medicine in the list to modify or delete it.

## Contributors
- OUARAS Khelil Rafik

0 comments on commit c67e922

Please sign in to comment.