All work
One-step self-service

Digital Beneficiary Cards

A beneficiary enters their phone and ID number, sees their official card instantly and saves it as an image, with no office visit.

Client
Ehssan Charity & Social Solidarity Association, Makkah
Type
Self-service portal
My role
Analysis, design, build, launch
Beneficiary cards Phone 05xxxx4353 ID number 1xxxxxx432 Show card Discount card
2

fields to verify, nothing more

1

tap to download the card

0

plastic cards printed

Before

Getting a card meant visiting the office, a manual search through huge spreadsheets, and printing paper or plastic cards.

The solution

A portal that checks phone and ID together on the server, generates the official discount card instantly and exports it as a high-resolution image.

Inside the product

Digital Beneficiary Cards 1
Digital Beneficiary Cards 2
Digital Beneficiary Cards 3

How it works

  1. Open the link from an SMS or WhatsApp
  2. Enter phone and ID number
  3. Secure check and number normalisation on the server
  4. The card appears with the beneficiary’s details
  5. Save it as a PNG in one tap

What it does

Instant generation

The card is built in the browser from verified data.

Number normalisation

Accepts Arabic and Latin digits and any phone format.

High-DPI export

An image ready to save and show at partner stores.

Dual-factor check

The card shows only when phone and ID both match.

Hardened server boundary

Sensitive queries stay on the server.

Branded sharing

An official preview when the link is shared.

Under the hood

  • TanStack Start
  • React 19
  • Tailwind CSS v4
  • PostgreSQL
  • Server functions
  • Zod
  • html-to-image
  • QR

Hard problems, solved

People type numbers in many formats.
An engine that converts Arabic digits and normalises phones before matching.
Protecting beneficiary data on a public portal.
Two-field matching on the server, with no direct queries from the browser.

Skills it proves

  • Self-service design
  • Data protection
  • In-browser image generation
Next projectDolf Attendance & Certificates