I started this copy from wedding-invites repo (thanks Alistair and happy wedding!). I have customized to match my needs a bit better and also let me store most of the content outside the actual code.
It's obviously not "production" quality, but that's OK, it was hacked together over a few hours on a cold weekend in December.
- guests all login with the same username/password.
- they provide their names, email, phone number and any dietery requirements they might have.
- we automatically calculate the number of guests in the party.
- You login using the same credentials as your guests..
- then you go to /admin and login using your admin password
- view your guests and set the content for the main index page from here.
- MongoDB for storing the data.
- Sendgrid for sending notifications to yourself about a new RSVP.
- Vercel for deploying.
- sign up to MongoDB and setup a free cluster, setup a DB called
wedding
with two collections calledrsvps
andcontent
. - sign up to Sendgrid and set up an API key with send permission.
- setup your environment variables in
.env.local
(copyenv.example
to see what you need) - we used Dall-E 2 to generate an image for the background/header, set this in the environment variables too.
- add the main wedding content via the admin page - I suggest editing place_holder.json locally to the data you want and storing it under 'my_copy.json' for future reference.
- once you are happy that it works locally, deploy it to Vercel.com
- make sure you have:
- added the environment variables in vercel,
- added a suitable DNS CNAME if using your own domain,
- add the domain to vercel