This is a digital wedding guestbook I made for my own wedding reception in June 2023 (in Singapore & Taiwan).
This web app hosted at yjsh.day is no longer actively maintained. You are free to poke around, but you won't be able to submit messages and photos to us anymore!
The idea came initially from the physical marriage advice cards that we prepared to keep our wedding guest involved.
As I was learning Web Development on MDN in my spare time, we thought, why not make it an exercise, transforming it to an online version?
We still had about a month when we first had this idea, so we decided to make it happen.
The application is mainly written with React.js and Next.js.
As Google Cloud Platform (GCP) was offering new customers a 90-day free trial (with $400 worth of credits), I decided to build the app around GCP services.
For example, the text messages received from the guests are stored in Datastore. The pictures uploaded are placed in Cloud Storage. For every image uploaded, a Cloud Function is triggered to compress the image to a thumbnail. To build the API Routes in Next.js, the Google Cloud Client Libraries was used for the communication with the backend. Finally, the application itself was deployed in the Google App Engine.
In addition to the GCP client libraries, two additional libraries were required: SWR and Photoswipe for React.
The SWR was used to perform Client-side data fetching without jeopardizing the performance, while the Photoswipe provided a ready-made interface for the user to browse all the pictures in a gallery.
Checkout my portfolio where I documented the whole journey with more details.

