All projectsCase Study

馃└ BloodPod

Emergency blood donor matching for Ghana. Hospitals and patient families post urgent requests by blood type, urgency, and location, and registered donors with matching blood types nearby are notified instantly by SMS.

bloodpod-app.vercel.app
Next.jsNode.jsPostgreSQLPostGISSupabasePaystackArkesel SMSTailwindCSS

Launched. Currently building the first hospital partnership.

The Problem

People die in Ghana waiting for blood. Not because compatible donors don't exist, but because when a patient needs blood urgently, the hospital's process for finding it is phone calls. Staff work through contact lists one call at a time, hoping to reach someone with the right blood type who is nearby, eligible, and willing. That takes hours. Emergencies don't give hours.

There has been no reliable system connecting the people who need blood with the people ready to give it: no registry of who is compatible and close by, no fast way to reach them, and no tracking of who donated when.

What I Built

A platform connecting hospitals, patient families, and blood donors across Ghana:

  • Donor registration & verification: donors register with their blood type and location and are verified before entering the matching pool.
  • Subscriptions: hospitals and patient families subscribe via Paystack to post urgent blood requests.
  • Location-based matching: a PostGIS-powered algorithm finds registered donors with compatible blood types nearest to the request.
  • Instant SMS notifications: matching donors are notified immediately via Arkesel; donors confirm availability and the hospital receives matched donor contacts.
  • Donor safety enforcement: every donation date is logged automatically, and the system enforces the 56-day waiting period before a donor can be contacted again.
  • Rewards & dashboards: donors earn airtime, data bundles, and redeemable points, with dedicated dashboards for both hospitals and donors.

My Role & Key Decisions

I identified the problem, designed the product, and built the full platform: donor registration and verification, subscription management, the matching algorithm, SMS integration, the reward points system, and both dashboards.

Decision

Used PostGIS geospatial queries for matching instead of filtering by city or region labels

Why

In a blood emergency, what matters is who can physically get to the hospital in time, and 'same city' is a bad proxy for that. Two locations labelled 'Accra' can be over an hour apart. PostGIS lets matching run on actual coordinates and real distance, so the donors notified first are the ones genuinely closest to the request, not the ones who happened to type the same city name.

Outcome

Urgent requests reach compatible donors ranked by true proximity, which is the difference the whole product exists to make.

Decision

Enforced the 56-day donation waiting period in the system, not in policy

Why

The safe interval between whole-blood donations is a medical rule, and medical rules cannot depend on anyone remembering them: not the donor, not the hospital, and especially not during an emergency when every incentive says 'ask anyway.' The system logs each donation date automatically and makes the donor unmatchable until the window has passed. Urgency cannot override it because no code path exists that skips the check.

Outcome

No donor can be contacted for a new donation before it is medically safe, regardless of how urgent the request is.

Decision

Chose SMS via Arkesel as the notification channel rather than push notifications or email

Why

An emergency notification system is only as good as its worst delivery path. Push notifications assume a smartphone with the app installed and data on; email assumes someone checking inboxes. SMS works on every phone in Ghana, instantly, with no app and no data. When the message is 'someone nearby needs your blood type now,' the channel with universal reach is the only defensible choice.

Outcome

Every registered donor is reachable the moment a compatible request goes up, whatever phone they carry.

Decision

Rewarded donors with non-cash benefits: airtime, data bundles, and redeemable points

Why

Paying cash for blood creates dangerous incentives: it encourages people to donate too often or misrepresent their eligibility, which harms both donors and recipients. Non-cash rewards thank donors and keep them engaged without turning blood into a commodity: recognition rather than payment.

Outcome

Donors are appreciated and retained through airtime, data, and partner-discount points, with the donation decision kept altruistic.

System Architecture

Hospitals & Patient FamiliesPost urgent requests 路 SubscribeRegistered DonorsVerified 路 Blood type 路 LocationNext.js FrontendHospital & donor dashboards 路 TailwindCSSNode.js APIRequests 路 Matching 路 Eligibility 路 RewardsPostgreSQL + PostGISGeospatial donor matching 路Donation log 路 56-day windowArkesel SMSInstant donornotificationsPaystackHospital & patientsubscriptionswebhooksMatched Donors' PhonesAny phone 路 No app needed 路 Confirm by reply

The Matching Layer

Engine

PostGIS on PostgreSQL. The matching core is a geospatial query, because in this domain the intelligence that saves lives is knowing exactly who is compatible, eligible, and physically close.

Request-to-Donation Flow

  1. 1Hospital or patient family posts a request: blood type, urgency level, location
  2. 2PostGIS finds registered donors with compatible blood types, ranked by real distance from the request
  3. 3Donors inside the 56-day post-donation window are excluded automatically; they are never contacted
  4. 4Matching donors receive an instant SMS via Arkesel
  5. 5Donors confirm availability; the hospital receives the matched donors' contacts
  6. 6The donation date is logged automatically, starting the donor's next 56-day safety window and crediting their rewards

What the User Experiences

For a hospital, hours of phone calls become one posted request. For a donor, a text message arrives when, and only when, someone nearby genuinely needs their blood type and it is medically safe for them to give. Confirm, donate, and the system handles the rest: the log, the safety window, and the thank-you in airtime or data.

Outcomes

Launched
Live at bloodpod-app.vercel.app
56 days
Donor safety window, enforced automatically by the system
SMS
Instant donor notifications via Arkesel, no smartphone required
In progress
Building the first hospital partnership

What I'd Do Differently

I would start with the hospital partnership instead of finishing the platform first. The system is built and launched, but a donor network only becomes valuable when requests flow through it, and requests come from hospitals. Building in partnership with one hospital from day one would have grounded every design decision in a real emergency workflow and given the platform live requests the moment it shipped, instead of the partnership being the step after launch. For products like this, the institutional relationship is the critical path, not the code.