Wedding Planner: index
A private wedding planning web app with two halves:
- The plan portal (
plan.<domain>), used only by the couple: tasks, budget, payments, guests, suppliers, seating, the wedding day, emails, and an AI assistant. - The guest site (the apex domain): the public pages guests see, from “coming soon” through RSVP to “thank you”.
It all runs as one Cloudflare Worker (wedding-planner) with a D1 (SQLite) database, an R2 bucket for photos, and a React/TypeScript UI built into the Worker. The source lives in one GitHub repo (frontend/ and worker/). Names, domains and values in these notebooks are examples, not a real wedding’s.
These notebooks were written from the repo at commit f701b65 (2026-11-24, “skip questions, no duplicate check-ins, notification settings, usage & cost”). They describe what the app does. They don’t connect to it or hold any live guest data.
Conventions used throughout
- Money is stored in pence (whole numbers). £1,250.50 is
125050. The UI shows pounds. - Dates are
YYYY-MM-DDand times areHH:MM(24 hour). The assistant and brief work in UK time. - Owners are
partner1,partner2ortogether. Partner names come from Setup. - No personal data lives in the code: names, date and venues are typed into Setup and filled into pages when each request is served.
The notebooks
| # | Notebook | What it covers |
|---|---|---|
| 01 | Architecture & hosts | Worker, D1, R2, cron, every hostname and what each one serves |
| 02 | Sign-in & security | Cloudflare Access, the password fallback, sessions, preview gate, code-guess limit, logging |
| 03 | Setup, branding & backups | The Setup page, branding variables, password, AI links, full backup |
| 04 | Dashboard | Every card and number on the home page |
| 05 | Master Timeline & appointments | The one calendar and the appointments you add to it |
| 06 | Tasks & playbook | Stages, the 46 built-in tasks, deadline maths |
| 07 | Budget | Categories, items, forecast, contingency, CSV |
| 08 | Payments | Deposits, instalments, refunds, invoice links, marking paid |
| 09 | Family payment portal | family. host, what family see, the access list and Cloudflare sync |
| 10 | Guests & households | Guest records, households, plus-ones, tags, gifts & thank-yous, song requests |
| 11 | Guest Tools | Live guest site, go-live schedule, RSVP window, custom questions, tags, reminders, previews |
| 12 | Guest RSVP journey | What a guest does, step by step, and the rules behind it |
| 13 | RSVP Inbox & import | CSV import, matching, review, access-code sheet |
| 14 | Guest website & guest pages | The five modes, the v3 site editor, draft → publish, photos, PWA |
| 15 | Suppliers & venues | Supplier records, booking status, confirm-by deadlines |
| 16 | Decisions & ideas | The decision log |
| 17 | Seating & logistics | Tables, seat plan, room plan, logistics items |
| 18 | Other events & honeymoon | Extra events, per-event to-dos, guest-site visibility |
| 19 | Wedding Day | Run sheet, day-of contacts, packing list |
| 20 | Caterer matrix | Meals and dietary needs for the caterer |
| 21 | Email & reminders | Guest emails, templates, merge tags, morning brief, send history |
| 22 | Email assistant | Emailing the planner’s own mailbox; Claude files it and replies |
| 23 | In-app assistant chat | Chats, confirm cards, attachments, questions, check-ins |
| 24 | Notifications & push | Web Push, email fallback, quiet hours |
| 25 | AI usage & cost | Token logging and the cost page |
| 26 | MCP AI connector | Connecting Claude or ChatGPT; every tool it offers |
| 27 | Data model | Every table and column, migrations 0001–0015 |
| 28 | API reference | Every route the Worker answers |
| 29 | Testing, deploy & operations | Test suites, push-to-deploy, monitoring, operating rules |