All projects

Case study · Charity project

Blood Help

Nearby blood donors, alerted in minutes

When someone needs blood, it alerts nearby donors whose blood type is compatible, puts them in touch by phone, and confirms each donation with a QR code.

Request form in Burmese: blood type B+, a contact number, Yangon General Hospital as the location, one unit and the urgency
Donor list in Burmese with the search widened to 70 km: Mg Bhone marked as confirmed, Zaw Htike as unreachable
Leaderboard in Burmese: 13 donations so far, with Aye Myint, Zaw Htike and Bhone as the top donors
Role
Design, architecture & developmentSolo project
Timeline
June 2026Free, no ads
Platform
Mobile web app (PWA)Burmese and English
Stack
React, TypeScript, SupabasePostGIS, Firebase push

The problem

When a patient needs blood, the family has to find it

Hospitals in Myanmar often run short of blood, so families search for donors themselves. They call everyone they know and post in Facebook groups, and the search can take hours while the patient waits.

  • Hours lost

    Phone calls, group chats and word of mouth, while the patient waits.

  • Wrong blood types

    No one can tell who nearby is compatible, so many calls go to people who can’t donate.

  • Donors hear too late

    A willing donor may be 2 km away and never see the post in time.

  • Numbers in public

    Phone numbers get copied across public groups, a real privacy and safety risk.

The solution

One request reaches the right donors in minutes

The requester enters the blood type, units and hospital once. Blood Help finds donors nearby who can actually give, alerts them right away, and keeps everyone’s details private until they choose to connect.

  • Real-time alerts

    Compatible donors nearby get a push notification and an in-app alert as soon as a request goes up.

  • Smart search

    Donors are ranked by distance, and the search widens on its own when no one is close.

  • Donor appreciation

    Every confirmed donation goes on the donor’s record, and a leaderboard thanks the people who keep showing up.

  • Private by default

    Locations are rounded to about 1 km, and a donor’s number is shared only if they allow it.

  • One account, two roles

    The same account can ask for blood today and donate next month. There are no separate donor and patient accounts.

  • Burmese first, no app store

    Every screen is in Burmese and English, and the app installs straight from the browser.

Matching

Only donors who can give get the alert

Blood compatibility only works one way: O− can go to anyone, while AB+ can only go to AB+. Blood Help checks it before sending anything, so donors never get a request they can’t answer.

Who can donate

  • 18 to 65 years old

    The minimum age is checked at sign-up.

  • Once every 4 months

    Each profile shows the next date a donor can give.

Patient’s blood type

Donors who get the alert

  • O−, gets the alert
  • O+, gets the alert
  • A−, no alert
  • A+, no alert
  • B−, gets the alert
  • B+, gets the alert
  • AB−, no alert
  • AB+, no alert

4 of 8 donor blood types can give to B+.

Pick a blood type to see who gets the alert.

How it works

From a request to a confirmed donation

Everyone signs in the same way, then chooses to ask for blood or to donate. These are the app’s real screens, in Burmese, with English captions.

  1. Post a request
  2. Compatible donors alerted
  3. Donor calls back
  4. Blood donated
  5. QR code confirms it
  6. Donor thanked

Getting started

01

Sign in

Everyone

A phone number and a one-time code. No password, no email.

  1. Sign-in screen in Burmese: a +95 country code and a phone number field, with a button to send the code
    Enter your phone number+95 is filled in for Myanmar.
  2. Code screen in Burmese: six digits filled in, links to change the number or resend the code, and a confirm button
    Type the 6-digit codeIt confirms the number is yours.
  3. Choice screen in Burmese: I need blood, or I want to donate
    Choose what you came forI need blood, or I want to donate.
02

Become a donor

Donor

Set up once, then get alerted when someone nearby needs your blood type.

  1. Donor profile form in Burmese: name, blood type O+ selected, a contact number, and a switch to allow direct calls
    Fill in the donor profileName, blood type, and whether requesters may call directly.
  2. Thank-you screen in Burmese for a new A+ donor, confirming that alerts are on
    Turn on alertsAsked on the thank-you screen, then confirmed.

Finding blood

03

Ask for blood

Requester

One short form, then the search starts on its own.

  1. Request form in Burmese: blood type B+, a contact number, Yangon General Hospital as the location, one unit and the urgency
    Post a requestBlood type, phone, hospital, units and urgency.
  2. Dialog in Burmese explaining why the app needs the location, with continue and not now buttons
    Share your locationExplained first, then asked once.
  3. Live request screen in Burmese: searching within 20 km, three donors reached, and a note that responders will appear here
    Watch the searchCompatible donors nearby are alerted first.
04

Reach donors

Requester

Call donors straight from the list and note how each call went.

  1. Donor list in Burmese with the search widened to 30 km: each donor’s blood type, distance, phone number and a call button
    Call a donorAs the search widens, more donors appear.
  2. Sheet in Burmese for recording a call with Mg Bhone: confirmed and coming, couldn’t reach, or can no longer donate
    Record the outcomeComing, couldn’t reach, or can’t donate.
  3. Donor list in Burmese with the search widened to 70 km: Mg Bhone marked as confirmed, Zaw Htike as unreachable
    Keep trackEach donor’s status stays on the list.

Closing the loop

05

Confirm the donation

Requester

Once the blood arrives, close the request and confirm who gave it.

  1. Sheet in Burmese asking where the blood came from: a donor in this app, or somewhere else
    Say where it came fromA donor in the app, or somewhere else.
  2. Dialog in Burmese explaining that the app needs the camera to scan a QR code, with continue and not now buttons
    Allow the cameraExplained first, like the location.
  3. QR scanner in Burmese, with a field for the donor’s 5-character code instead
    Scan the donor’s QR codeOr type their 5-character code.
06

Thank the donor

Donor

A donation counts only when the requester confirms it in person.

  1. Donor profile in Burmese: two donations, the last and next eligible dates, and the donor’s QR code with the code W5TJW
    Show your QR codeEvery donor has one in their profile.
  2. Thank-you screen in Burmese after a confirmed donation, noting it is the donor’s first
    Get thankedThe donation goes on their record.
  3. Leaderboard in Burmese: 13 donations so far, with Aye Myint, Zaw Htike and Bhone as the top donors
    Climb the leaderboardRanked by confirmed donations.

Engineering

The decisions behind it

I designed the data model, the matching and the privacy rules together with the screens. Six decisions shaped how it works.

  • One compatibility map

    A single directional ABO/Rh table decides which donors see which request. An O− donor sees every request; an AB+ donor sees only AB+.

    • TypeScript
    • PostgreSQL
  • Distance matching in the database

    PostGIS ranks donors by distance inside Postgres functions, and widens the search up to 70 km when no one is near.

    • PostGIS
    • SQL functions
  • Private by design

    Locations are rounded to a 1 km grid before they’re stored, nothing tracks in the background, and row-level security limits what each user can read.

    • Row Level Security
    • Geolocation API
  • Live, without refreshing

    Supabase Realtime fills the requester’s donor list as people respond, and Firebase Cloud Messaging reaches donors even when the app is closed.

    • Supabase Realtime
    • FCM
    • Service worker
  • Only real donations count

    A donation is recorded only when the requester scans the donor’s QR code in person, or types the 5-character code.

    • QR codes
    • Camera scanning
  • Requests close themselves

    A scheduled job expires requests after 24 hours and tells the donors who answered, so no one travels for a closed request.

    • pg_cron
    • Edge Functions

Tech stack

A small stack with no servers to run

Architecture

The web app sends requests to Supabase and gets live updates back. Supabase sends push alerts to donors’ phones through Firebase Cloud Messaging.

Frontend
  • React 19
  • TypeScript
  • Vite
  • Tailwind CSS
Backend
  • Supabase
  • PostgreSQL
  • PostGIS
  • Row Level Security
Realtime and jobs
  • Supabase Realtime
  • Edge Functions
  • pg_cron
Notifications
  • Firebase Cloud Messaging
  • Service worker
On the phone
  • Geolocation
  • Camera QR scanning
Delivery
  • PWA
  • Vercel