Skip to content

aay-zee/Blood-Bank-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blood Bank Management System

Introduction

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.

Features

  • 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.

Technology Stack

  • Programming Language: Java
  • GUI Framework: Java Swing
  • Database: MySQL
  • IDE: IntelliJ IDEA (Recommended)

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • MySQL Server
  • JDBC Driver for MySQL

Setup Instructions

  1. Clone the Repository:
    git clone <repository-url>
  2. 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.
  3. Configure Connection:
    • Open src/CacheManager/Connect.java.
    • Update the database credentials (username and password) in the DriverManager.getConnection line to match your local MySQL setup:
      connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/BloodBankSystem", "root", "YOUR_PASSWORD");
  4. 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.

Usage

  1. Run the Application:
    • Navigate to src/blood/bank/system/Login.java.
    • Run the main method to launch the application.
  2. Login/Sign Up:
    • Use the "Sign Up" button to create a new admin account.
    • Log in with your credentials to access the dashboard.
  3. Dashboard:
    • Use the navigation menu to access different modules like Donor, Recipient, Stock, etc.

Directory Structure

  • 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.

Contributors

  • Manal Bukhari
  • Ezza Abdullah
  • Tehreem Tahir
  • Aneeq Zafar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages