Back to Projects
Web Development

Blood Directory – Real-Time Emergency Blood Donor Matching & Life-Saving Network

A comprehensive full-stack social impact case study on architecting Blood Directory: a high-speed emergency blood donor discovery network, automated eligibility cycle tracker, and instant geo-targeted SMS broadcast engine.

Blood Directory – Real-Time Emergency Blood Donor Matching & Life-Saving Network

Blood Directory – Engineering a Real-Time Emergency Blood Donor & Healthcare Network

Executive Summary

Blood Directory (https://blooddirectory.upnovate.net/) is a dedicated emergency healthcare initiative and digital donor discovery platform developed by UpNovate. Built as a social impact technology ecosystem, the platform bridges the critical time gap during medical emergencies by connecting patients, hospitals, and blood banks with verified, eligible voluntary blood donors across Bangladesh.

The solution features a high-speed Next.js frontend, an automated 90-day donor eligibility cycle calculation engine, dynamic district and upazila radius filtering, instant phone-number verification via BulkSMSBD OTP, and emergency broadcast dispatch workflows.


1. Project Background & Emergency Healthcare Challenges

In critical medical situations such as surgeries, trauma accidents, and thalassemia treatments, finding compatible blood within minutes is often a matter of life and death. The traditional process of sourcing blood donors faces severe logistical bottlenecks:

  • Scattered Social Media Posts: Emergency requests shared in unstructured social media groups get lost in newsfeeds, leading to critical response delays.
  • Inaccurate Donor Availability: Many listed donors are temporarily ineligible due to recent donations (within the 90-day medical waiting period) or medical conditions, wasting valuable search time.
  • Information Privacy vs. Accessibility: Donors hesitate to list their personal phone numbers publicly due to spam and harassment risks.
  • Geographic Mismatches: Desperate relatives contact willing donors who live too far from the hospital, causing delays during urgent golden hours.
  • Low-Bandwidth Network Drops: Users often search for blood inside hospitals with poor mobile reception, necessitating an ultra-lightweight web architecture.

2. Core Strategic & Architectural Objectives

To establish Blood Directory as a rapid, trusted emergency tool, the UpNovate team defined five foundational engineering pillars:

  1. Sub-Second Donor Discovery: Build a parameterized search index that queries compatible blood groups (A+, A-, B+, B-, AB+, AB-, O+, O-) by division, district, and upazila in milliseconds.
  2. Automated 90-Day Eligibility Cycle Engine: Implement automated background date calculations to transition donors between "Available" and "In Cool-down" statuses automatically.
  3. Verified Donor Authentication: Integrate BulkSMSBD OTP verification to validate real donor mobile numbers and eliminate duplicate or fake listings.
  4. Privacy-Protected Contact Masking: Implement secured, rate-limited direct-dial and SMS action buttons to protect donor contact numbers from web scraping and spam.
  5. High-Speed Mobile Optimization: Deliver a lightweight, mobile-first interface capable of rendering in under 1 second on low-speed 3G/4G hospital networks.

3. Technology Architecture & Full Stack Matrix

LayerTechnologies UsedFunctional Purpose
Storefront UI/UXNext.js, React, Tailwind CSSHigh-speed Server-Side Rendering (SSR), emergency dark/light theme, accessible high-contrast UI
Geolocation & Radius SearchPostgreSQL Full-Text Search, RedisParameterized regional queries (Blood Group + District + Upazila) with sub-100ms response
Backend & Core ServicesNode.js, Express.jsDonor intake controllers, eligibility validation workers, and emergency broadcast handlers
Database & CachingPostgreSQL, RedisRelational donor records, donation history ledgers, and fast search result caching
SMS & OTP AuthenticationBulkSMSBD Gateway APIAutomated donor phone verification, emergency SOS alert broadcasts, and cool-down notifications
Security & PrivacyRate Limiting, JWT, Data EncryptionAnti-scraping protection for donor phone numbers, encrypted profile data, and RBAC
Cloud & DevOpsLinux VPS, Nginx, Docker, PM2High-availability backend clustering, Cloudflare edge caching, and automated SSL termination

4. End-to-End Emergency Workflow

The platform connects recipients, donors, and volunteer coordinators through a streamlined five-stage pipeline:

  • Emergency Search & Filtering: Recipient selects required blood group and geographical location (District/Upazila); system filters active, eligible donors.
  • Real-Time Availability Check: The engine displays only donors who have crossed the 90-day post-donation threshold, showing live readiness indicators.
  • One-Tap Emergency Contact: Recipient connects via direct phone call or sends a standardized SMS alert containing patient hospital details.
  • Donor Profile & History Update: After donating, the donor logs the donation date; the system automatically marks them unavailable and starts the 90-day countdown timer.
  • Automated Re-Eligibility Alert: Upon completing the 90-day cycle, the platform sends an automated SMS notifying the donor that they are eligible to save lives again.

5. Major Engineering Highlights & Custom Modules

A. Automated 90-Day Medical Cool-down Engine

Medical safety requires a minimum 90-day interval between whole blood donations. UpNovate engineered an automated scheduling worker that tracks the timestamp of each donor's last donation, automatically toggling their visibility in public search results and sending automated reminder SMS messages when they become eligible again.

B. Anti-Scraping Privacy Architecture

To protect voluntary donors from commercial telemarketers, donor phone numbers are masked and accessed via protected server-side endpoints with strict IP rate-limiting, preventing automated bot scraping while maintaining instant access for genuine emergency seekers.

C. Lightweight Emergency Mode UI

During hospital emergencies, users experience high stress and often weak internet signals. The frontend UI was built with a stripped-back, high-contrast visual layout with zero heavy graphic assets, ensuring sub-second rendering across all smartphone browsers.


6. Measurable Social & Operational Impact

Following deployment, Blood Directory demonstrated significant efficiency in emergency donor mobilization:

Key Performance MetricTraditional Social Media SearchBlood Directory Production Platform
Average Time to Locate Donor2–6 Hours (Unstructured Posts)Under 3 Minutes (Direct Filtered Search)
Donor Contact AccuracyHigh Ineligibility Rate (>50%)100% Verified Active & Eligible Status
Mobile Page Load Speed3.5+ SecondsUnder 900ms on Mobile Connections
Donor Number Verification RateUnverified / Anonymous100% Verified via Mobile Phone OTP
Search LatencyManual Feed ScrollingSub-100ms Instant Database Queries

7. Summary & Future Technology Roadmap

The Blood Directory platform illustrates how thoughtful full-stack engineering, real-time database filtering, and automated messaging integrations can create life-saving community healthcare tools.

Upcoming platform enhancements include automated geo-fenced SOS push alerts to nearby donors within a 5-kilometer hospital radius, direct coordination portals for regional volunteer clubs, and integration with certified hospital blood banks for real-time bag inventory tracking.

Need a similar solution or custom engineering?

Let's discuss your architecture, tech stack, and deliverable timeline.

Get in Touch
Message on Messenger
Message on Telegram
Message on WhatsApp
Send an Email