- Overview
- Features
- Prerequisites
- Installation
- Usage
- Diagrams
- Screenshots
- Project Report
- Contributions
- License
The Donation Management System is a Java Swing application designed to facilitate the management of donations between donors and associations. This application provides an intuitive graphical user interface for:
- Donors to manage their donations (create, update, delete, view).
- Associations to collect donations and manage their records.
- Donation Management: Donors can create, update, delete, and view their donations.
- Dashboard: Donors have a dashboard listing all their donations and showing the details of collections made by associations.
- Donation Collection: Associations can view all available donations and collect them in specified quantities.
- Dashboard: Associations have a dashboard that lists all the donations they have collected.
- Java Development Kit (JDK) installed.
- MySQL Database setup.
- IntelliJ IDEA for running the project.
- MySQL Connector/J jar file version
9.1.0added to thelibdirectory. - Git installed on your machine.
Ensure Git is installed on your system. If not, install it from Git Downloads.
Run the following command to clone the repository:
git clone https://github.com/AyKrimino/donation-system-java-swing.gitNavigate to the project directory:
cd donation-system-java-swing- Create a MySQL database named
donation_db. - Run the SQL schema provided in the
resources/sql/schema.sqlfile to set up the tables. - Update the
.envfile with your database connection details:
DB_URL=jdbc:mysql://localhost:3306/YOUR_DATABASE_NAME
DB_USER=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD
- Open the project in IntelliJ IDEA.
- Configure the classpath to include the
mysql-connector-j-9.1.0.jarfile located in thelib/directory. - Run the
Mainclass to start the application.
- Ensure the
mysql-connector-j-9.1.0.jarfile is in thelib/directory. - Compile the application:
javac -cp ".:./lib/mysql-connector-j-9.1.0.jar" app/*.java dao/*.java gui/*.java models/*.java services/*.java utils/*.java -d bin/- Run the application:
java -cp ".:./bin:./lib/mysql-connector-j-9.1.0.jar" app.MainEnsure the mysql-connector-j-9.1.0.jar file is available in the lib/ directory. If not, download it from MySQL Connector/J.
- Login: Enter your credentials to log in as a donor or association user.
- Dashboard Navigation:
- Donors: Manage your donations and view collections.
- Associations: View available donations and collect them.
- Real-time Updates: Changes made by donors or associations are reflected immediately in the database.
This project was created as part of our coursework at L'institut supérieur d'informatique (ISI Ariana) by myself and my partner Wajdi. You can view the full project report here: Project Report
Contributions are welcome! Feel free to fork this repository and submit pull requests with improvements or fixes.
This project is licensed under the MIT License.









