Tenawar
Bilingual wedding invitations with online RSVP
A product for Arabic and English digital wedding invitations. A host builds an invitation, publishes it, and their guests reply online. More than 400 hosts have made their invitations with it, and real weddings depend on it, which sets the bar for how carefully it has to be tested.
How it fits together
Build invitation
theme, names, date, venue
Publish guards
block incomplete or sample data
Public invitation
Arabic or English
Guest RSVP
stored per invitation
The hard parts
Correct layers that disagree with each other
A manual walkthrough of create, publish and RSVP against production found six bugs in ninety minutes that the automated suite had missed. Each layer passed its own tests; the layers did not agree. That walkthrough is now a written twenty-minute checklist run before any release that touches those flows.
Eighteen themes, two languages, one set of facts
Every theme has to show the details a guest actually needs, in both languages and both text directions. A dedicated test run covers all 36 combinations, and 114 visual baselines catch layout changes nobody intended.
Tests named after the failure
The rule in this repo is to write the test that would have caught the bug, in the words of the failure. For example: the sample couple can never be published, in either language.
What exists today
- A web app and a separate API, backed by Supabase (PostgreSQL) with 65 migrations.
- 18 invitation themes, each rendered in Arabic (right-to-left) and English.
- Guards on publishing, so an incomplete or sample invitation cannot go out to guests.
- A production build that type-checks, prerenders pages, and generates the sitemap and content security policy.