A comprehensive digital solution for managing blood bank operations and sample collection processes built with PHP.
This project provides a streamlined system for managing blood donations, sample collection, inventory tracking, and donor management for blood banks and medical facilities using PHP and MySQL.
- Donor Management: Register and track donor information and medical history
- Blood Inventory: Real-time tracking of blood units by type and expiration date
- Sample Collection: Digital workflow for sample collection and processing
- Appointment Scheduling: Online booking system for donors
- Reporting: Generate reports on donations, inventory levels, and donor statistics
- User Authentication: Secure login for administrators and staff
- Notifications: Email notifications for appointments and alerts
- Frontend: HTML5, CSS3, JavaScript, Bootstrap 5
- Backend: PHP 7.4+
- Database: MySQL
- Authentication: PHP Sessions
- Email: PHPMailer
- Charts: Chart.js
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache or Nginx web server
- Composer (optional)
- Clone the repository
git clone https://github.com/amalkochuparambilp/blood-bank.git- Database Setup
CREATE DATABASE blood_bank;
-- Import the SQL file from /database/blood_bank.sql- Configure Database Connection
// config/database.php
<?php
$host = 'localhost';
$dbname = 'blood_bank';
$username = 'your_username';
$password = 'your_password';
?>- Start the Server
# Using XAMPP
# Place the project folder in htdocs
# Access via http://localhost/blood-bank-sample-collectionblood-bank-sample-collection/
├── assets/ # CSS, JS, Images
├── config/ # Database and configuration files
├── includes/ # Header, footer, and common files
├── admin/ # Admin panel files
├── donor/ # Donor portal files
├── staff/ # Staff dashboard files
├── database/ # SQL dump files
├── functions/ # PHP function files
└── index.php # Main entry point
donors- Donor information and medical historyblood_inventory- Blood units trackingappointments- Donation appointmentsstaff- Staff members and credentialssample_requests- Sample collection requestsreports- Generated reports
- Admin Module: Full system access and management
- Donor Module: Donor registration and appointment booking
- Staff Module: Daily operations and inventory management
- Reports Module: Analytics and reporting dashboard
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Project Lead: Amal K P
- Developers: AKP DevZ
- Medical Advisors:
For support, email support [email protected] or open an issue in this repository.
Made with ❤️ for saving lives