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.
- Prerequisites
- Deployment
- Installation
- Usage
- Flowchart
- Features
- Technologies Used
- Contributing
- License
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.
For a detailed guide on how to deploy a PHP and MYSQL application on internet, you can watch this video.
To set up the BBMS application with XAMPP in your Linux environment, follow these steps:
-
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
-
Go to the phpMyAdmin in your web browser at
http://localhost/phpmyadmin/
-
Create a database named
BBMS
and import the filebbms.sql
present in/opt/lampp/htdocs/BBMS/database
. -
Access the application in your web browser at
http://localhost/BBMS/index.php
- 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.
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
- 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.
- PHP: Backend scripting language.
- MySQL: Database management system.
- Bootstrap: Front-end framework for styling.
- Apache: Web server.
Contributions are always welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix:
git checkout -b feature/your-feature
- Commit your changes and push to your fork:
git commit -m 'Add some feature' git push origin feature/your-feature
- Create a pull request on the original repository's
main
branch.
This project is licensed under the MIT License.