Contact Form — High Level Overview

Modern Serverless Setup for Portfolio Contact form


Summary

This project implements a lightweight, serverless contact form for my portfolio site. It uses Google reCAPTCHA (server-side verification), AWS API Gateway, Lambda, and SES to deliver messages securely and efficiently.


Why this approach?

How it works

  1. The frontend loads the reCAPTCHA widget and posts form data + token to POST /contact on API Gateway.
  2. API Gateway applies throttling; if allowed it invokes the Lambda.
  3. Lambda verifies the token with Google siteverify, validates input, and on success sends an email via SES.
Contact form architecture diagram

For full architecture and details (diagram, payload examples, CLI hints) please do not hesitate to reach out.