This project is a Blood Bank Management System implemented in Java using IntelliJ IDEA. The system allows users to donate blood, request blood, and register as donors. There is a separate admin login to manage the system.
- Locate the
databasefolder in the project. - Import the provided SQL file (
blood_bank_management_system.sql) into your MySQL server to create the necessary database and tables.
- Open the project in IntelliJ IDEA.
- Navigate to the
src/db.javafile. - Update the following fields in the
db.javafile with your MySQL server details:String url = "jdbc:mysql://your_database_url:your_port/bloodbank"; String username = "your_username"; String password = "your_password";
- Open IntelliJ IDEA.
- Navigate to
File>Openand select the project folder. - Ensure that you have the necessary SDK installed. Configure the SDK in the project settings if needed.
- Open the
src/mainpage.javafile.
- Right-click on the
mainpage.javafile and select "Run MainPage.main()". - The Blood Bank Management System should start, and you can interact with it through the GUI.
- Donation Management: Register as a donor and donate blood.
- Blood Request: Request blood when needed.
- Donor Registration: Users can register as donors.
- Admin Login: Separate login for administrators to manage the system.
- Abdul Hannan