← work
042026live

A multi-week wellbeing programme for Action for Happiness.

Head of Tech, Action for Happiness

calm.actionforhappiness.org
Calm Your Mind screenshot

the short version

Participants sign in, return each week, do that week’s action and reflect — in groups led by volunteers. The first signed-in programme on the Action for Happiness platform, built privacy-first.

Next.jsPostgresOAuthGDPR by design
12
week programme
0
over-booked seats
21
proven guardrails

what I built

  1. 01

    Group seats confirmed on the spot — race-free by a Postgres CHECK, not app logic

  2. 02

    Each participant gets their action at 9am in their own timezone

  3. 03

    Reflections can’t be put in an event payload — the types make it uncompilable

  4. 04

    GDPR erasure is structural: delete the account and the data goes with it

  5. 05

    Every guardrail is proven against a deliberate violation in CI