Digital Wedding Invitation
A one-page mobile-first wedding invitation with no framework, no build step, and no node_modules.
A single-page wedding invitation, opened by guests from a WhatsApp link on their phone. Deployed on Cloudflare Pages; every push redeploys in about fifteen seconds.
The constraint I set myself
No framework. No build step. No node_modules. Deploying means uploading a folder.
That was a deliberate choice rather than laziness. The audience is hundreds of guests on mid-range Android phones and uneven mobile data — every kilobyte of JavaScript is a tax paid by someone who just wants to see a date and a location. Plain HTML, CSS, and JavaScript turned out to be entirely sufficient.
Details worth noting
Each guest gets a personalised link (?to=...), so the invitation greets them by
name. RSVP and guestbook entries are handled by a Google Apps Script backend —
no server to run, no database to maintain, for something that needs to stay up
for a few weeks and then quietly retire.
The site URL appears in three separate places in the codebase, which is exactly the kind of thing that rots. So there is a small script that updates all three at once, and a test that fails if any of them fall out of sync.
Stack
HTML · CSS · JavaScript · Google Apps Script · Cloudflare Pages