The Blood Bank Management System is a comprehensive desktop application designed to streamline and automate the operations of a blood bank. It facilitates the efficient management of donors, recipients, blood inventory, donations, transfusions, and cross-matching processes. Built with Java and MySQL, this system aims to ensure the availability of safe blood for patients in need.
- Donor Management: Add, update, and view donor records.
- Recipient Management: Manage recipient information and track their needs.
- Blood Inventory Management: Track blood units, status, and expiration dates.
- Donation Management: Record and monitor donation history.
- Transfusion Management: Manage transfusion records for recipients.
- Cross-Examination Management: Record and track cross-matching results.
- Reward Management: Manage rewards for donors.
- Reporting: Generate reports on various criteria like donor demographics and inventory status.
- Programming Language: Java
- GUI Framework: Java Swing
- Database: MySQL
- IDE: IntelliJ IDEA (Recommended)
- Java Development Kit (JDK) 8 or higher
- MySQL Server
- JDBC Driver for MySQL
- Clone the Repository:
git clone <repository-url>
- Database Setup:
- Open your MySQL client (e.g., MySQL Workbench, Command Line).
- Create the database and tables using the provided SQL script located at
src/CacheManager/schema.sql. - You can execute the script directly or copy-paste the commands.
- Configure Connection:
- Open
src/CacheManager/Connect.java. - Update the database credentials (username and password) in the
DriverManager.getConnectionline to match your local MySQL setup:connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/BloodBankSystem", "root", "YOUR_PASSWORD");
- Open
- Build the Project:
- Open the project in your IDE.
- Ensure the JDBC driver is added to the project's dependencies.
- Build the project to resolve dependencies.
- Run the Application:
- Navigate to
src/blood/bank/system/Login.java. - Run the
mainmethod to launch the application.
- Navigate to
- Login/Sign Up:
- Use the "Sign Up" button to create a new admin account.
- Log in with your credentials to access the dashboard.
- Dashboard:
- Use the navigation menu to access different modules like Donor, Recipient, Stock, etc.
src/blood/bank/system: Contains the main UI and logic classes (Login, Home, etc.).src/CacheManager: Contains database connection and schema files.src/blood/bank: Contains core bank logic.src/icon: Contains image assets.
- Manal Bukhari
- Ezza Abdullah
- Tehreem Tahir
- Aneeq Zafar