← Back to the portfolio

Heapi

A first-aid app that tells bystanders what to do, one step at a time, until help arrives. I designed it, built it and shipped it.

My role
Founder, designer and developer
Timeline
November 2026 to now
Built with
JavaScript, Netlify, Resend, Cloudflare

The app

In an emergency, people freeze, scroll, or ask a chatbot that gives them a wall of text. Heapi is built for the opposite: the fewest decisions possible, as fast as possible.

  • Situation finder. You pick what's happening in plain words, like "someone collapsed," not medical terms.
  • One action per screen. Each step is short and big enough to follow with shaking hands.
  • A call button on every page. Calling for help is never more than one tap away, with a short confirmation so it isn't dialed by accident.
  • Works from a phone. It installs from the browser like an app.

Heapi never diagnoses, never replaces calling emergency services, and never makes up advice.

The early-access site

A responsive site in plain HTML, CSS and JavaScript, deployed on Netlify from the command line.

  • Separate waitlist and contact flows, both on Netlify Forms, so sign-ups and questions don't end up in the same pile.
  • The waitlist asks for a role (general interest, responder, first-aid instructor) so I know who is signing up.
  • Honeypot fields block spam bots without making real people solve a captcha.
  • A "Try Heapi" demo where visitors pick a made-up scenario and see which guide the app would open.

The signup email pipeline

When someone joins the waitlist, they get a branded confirmation email within seconds. No mail server, no third-party marketing tool.

  1. Form submittedNetlify Forms records the sign-up
  2. Function runsAn event-driven Netlify Function picks it up
  3. Email sentResend REST API, with idempotency keys
  4. In the inboxFrom a custom subdomain via Cloudflare

Details that mattered

  • Idempotency keys so a retried function never sends the same person two emails.
  • Cloudflare DNS and HTTPS for the domain, plus a verified email subdomain so messages don't land in spam.
  • Tested end to end, from the sign-up form to the email arriving in a real inbox.

Heapi Calm

Not every hard moment is a physical emergency. Heapi Calm is a companion prototype for overwhelming moments: you save the shows, videos, songs and notes that calm you down, and open them in one tap.

  • Everything is stored as JSON in the browser's localStorage. Nothing leaves your device.
  • If storage is blocked (private browsing, some in-app browsers), it falls back to memory so the page still works.

Try Heapi Calm

Want to talk about Heapi?

Feedback, ideas or questions about how it works are all welcome.

Get in touch about Heapi