This repository contains the source code and infrastructure configuration for backend services used by laurensettembrino.com. At the moment, this is just a single service for sending emails submitted via the contact form.
- AWS CLI already configured with Administrator permission
- Docker installed
- Golang
- SAM CLI - Install the SAM CLI
make
Tests need to be run from from the Go module root
cd send-email && go test
You can invoke the function at http://localhost:3000/send-email
. Function contents can be refreshed by running make
.
sam local start-api
sam deploy