In a previous post, I described how I set up a Hugo site on AWS Amplify. One feature missing from this basic site is a contact form. Here, I consider how this can be implemented in an AWS context.

A github repo with related content is here.

Backend options

One aspect of AWS Amplify is that it can easily provide a managed backend for an Amplify served frontend; there are two primary options: (i) a REST backend or (ii) a GraphQL backend. Obviously, for this simple case a GraphQL backend was not appropriate.

AWS recommends not using the REST API…

Seán Murphy

Tech Tinkerer, Curious Thinker(er). Lost Leprechaun. Always trying to improve.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store