What is it?
A mobile platform that automatically connects blood donors with hospitals in Algeria during urgent needs — replacing the current chaotic system of Facebook posts and mosque announcements.
The Problem It Solves
Algerian hospitals struggle to find blood donors quickly. Right now, when blood is needed urgently, hospitals post on social media and hope someone sees it. This is slow, disorganized, and can cost lives.
How the Platform Works
For Donors (Mobile App):
Register with Firebase Auth (email/phone)
Create profile: blood type, age, weight, location, health info
App automatically checks eligibility (age 18-65, weight 50kg+, 90+ days since last donation, no disqualifying health conditions)
Toggle "Available" when ready to donate
Receive push notifications when a nearby hospital needs their blood type
Accept or decline the request
If accepted, get hospital contact info and directions
For Hospitals (Web Portal):
Login and create a blood request (blood type + urgency level + how many units)
System automatically searches the database for eligible, compatible, nearby donors
Push notifications sent instantly to all matching donors
Hospital sees who accepted in real-time and contacts them directly
Behind the Scenes (Backend):
Blood compatibility matching (e.g., O- can donate to anyone, AB+ can receive from anyone)
Distance calculation (Haversine formula) to find donors within a chosen radius
Eligibility filtering happens at the database/query level before anyone gets notified — so only real, eligible donors are contacted
Firebase Cloud Messaging delivers the push notification within seconds