Skip to content

venkatasai24/Blood-Bank-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBMS

alt

Blood Bank Management System (BBMS) is a web-based application designed to efficiently manage blood donations, donors, and recipients. It provides an integrated platform for donors and recipients to ensure the availability of safe and life-saving blood for those in need.

Table Of Contents

Prerequisites

Before you begin, ensure you have met the following requirements:

  • XAMPP: You need XAMPP installed for hosting the application in your Linux environment.XAMPP includes Apache, MySQL, PHP, and phpMyAdmin, which are essential for running the application.

For a detailed guide on how to install XAMPP on linux, you can watch this video.

Deployment

For a detailed guide on how to deploy a PHP and MYSQL application on internet, you can watch this video.

Installation

To set up the BBMS application with XAMPP in your Linux environment, follow these steps:

  1. Clone the repository into your local machine in the directory where your PHP web server is serving files. In my case, it's located in /opt/lampp/htdocs.

    git clone https://github.com/venkatasai24/BBMS.git
  2. Go to the phpMyAdmin in your web browser at

    http://localhost/phpmyadmin/
  3. Create a database named BBMS and import the file bbms.sql present in /opt/lampp/htdocs/BBMS/database.

  4. Access the application in your web browser at

    http://localhost/BBMS/index.php

Usage

  • Login: Users can log in with their respective roles (patient, donor, or admin) using their credentials.
  • Patients: Patients have access to their profiles, blood donation requests, and request history.
  • Donors: Donors can view their profile , blood donations, and check their donation history.
  • Admin: Admins have access to user and donation management features.

Flowchart

graph TD
    A[BBMS]

  subgraph Login/Register
  A1[Patient Login]
  A3[Admin Login]
  A2[Donor Login]
  A1 --> |New to BBMS|A4[Patient Register]
  A3 --> |New to BBMS|A6[Admin Register]
  A2 --> |New to BBMS|A5[Donor Register]
  end

  subgraph Patient
    A1 --> |Success| K[Patient Dashboard]
    K --> L[View Profile]
    L --> M[Update Profile]
    L --> N[Delete Account]
    K --> O[Request Blood]
    K --> Q[Request History]
    O --> |Submit Request| R[View Past Requests]
    Q --> R
  end

  subgraph Admin
    A3 --> |Success| E[Admin Dashboard]
    E --> H[All blood types unit levels]
    E --> |Manage|I[Patient/Donor Accounts]
    E --> G[Requests/Donations]
    E --> HI[View Past Donations/Requests]
    G --> |Manages requests/donations|AR[Approve/Reject according to the request/donation data]
    H --> |Update blood units| UB[Update Blood]
  end

  subgraph Donor
    A2 --> |Success| T[Donor Dashboard]
    T --> U[View Profile]
    U --> V[Update Profile]
    U --> W[Delete Account]
    T --> X[Donate Blood]
    T --> Z[Donation History]
    X --> |Submit Donation| AA[View Past Donations]
    Z --> AA
  end


  A --> A1
  A --> A2
  A --> A3
  A4 --> K
  A5 --> T
  A6 --> E

Loading

Features

  • User authentication and role-based authorization for patients, donors, and admins.
  • Profile management for patients and donors.
  • Blood donation request system.
  • Donation history tracking.
  • Admin panel for user and donation management.

Technologies Used

  • PHP: Backend scripting language.
  • MySQL: Database management system.
  • Bootstrap: Front-end framework for styling.
  • Apache: Web server.

Contributing

Contributions are always welcome! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix:
    git checkout -b feature/your-feature
  3. Commit your changes and push to your fork:
    git commit -m 'Add some feature'
    git push origin feature/your-feature
  4. Create a pull request on the original repository's main branch.

License

This project is licensed under the MIT License.