DEV Community

Cover image for My Wedding Guestbook
Adam Crockett ๐ŸŒ€
Adam Crockett ๐ŸŒ€

Posted on

2

My Wedding Guestbook

I'm working on my own wedding website, Its a unique position to be in to have a website with paper invites but that is the only way my guests will be able to RSVP

Requirements

The idea is to have 30 guests each with a unique URL, most are not tech literate, we need this to be so easy your granny could do it.

I have approx 30 allow listed URL path params in the RSVP form URL already, you cannot signup to attend for obvious reasons. The URL identifies the guest and renders a form to complete dietary requirements etc.

On the paper invite the URL will be a QRCode as well as the link and a few other ways to RSVP in the invite. so Its possible to think of this as SSO

`/rsvp/john`
Enter fullscreen mode Exit fullscreen mode

The problem

When a guest visits the website, I also want to show an RSVP button on the Home page, this is the challenge, because it has no assigned guest

`/rsvp`
Enter fullscreen mode Exit fullscreen mode

Now that means I need to render a bunch of guest names and allow the user to honestly select a guest.... but honest and web invites murder, for example my guest hates another guest and removes the shellfish allergy from their booking... so we cant just let 30 people edit each other. I need some way of authenticating them but Im not going to hold their passwords or username, OAuth might be needed, I almost want them to arrive on the website and be automatically recognized.

Anyway thanks and I look forward to your thoughts,

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (4)

Collapse
 
ben profile image
Ben Halpern โ€ข

If I understand correctlyโ€ฆ Once theyโ€™ve come to the website via their unique URL, you could store their info via cookie/localstorage (whichever is simplest given that this seems like a low-key security situation)

Then you can manipulate the home page RSVP to permanently be the unique one. If they come back directly to the home page from a different browser or context you could display a message asking them to scan their card.

โ€ฆ Iโ€™m not sure thatโ€™s what you want but maybe thatโ€™s a starter scenario?

Collapse
 
adam_cyclones profile image
Adam Crockett ๐ŸŒ€ โ€ข

Iโ€™ve used social engineering to get around the problem of guests editing each other, instead of a unique URL and QR code all the invites get a OTP style 2 digit number called a personal guest number or a PGN pronounced โ€œpuggnuhโ€ the number is just their unique ID and when entered it will lookup that page in notion and return the pages properties such as guest details.

There is a form at /rsvp for entering that or the direct url.

Itโ€™s of course not actually authentication and perhaps I should refine my idea further

Collapse
 
minipowers profile image
MiniPowers โ€ข

Preparing for a wedding is a pleasant and very exciting process. It is important not to miss a single detail, not to mention the search for a wedding photographer. By the way, the recommendations for wedding photos from this helpful resource can help you figure out what kind of shooting you would like for yourself and based on this, search professional in this matter.

Collapse
 
romanjack1150 profile image
romanjack โ€ข

Make every guest feel special with our personalized Wedding Thank You Cards. With customizable designs and heartfelt messages, each card is a beautiful way to express your gratitude for their presence on your special day.

Image of Timescale

Timescale โ€“ the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay