AWS Solutions Architect Serverless Demo Stack

This is a simple website that is made unnecessarily complex purely to demonstrate an AWS Serverless Solution using the technologies shown in the table below. Aside from the simple static content, the AWS solution enables the page counter and is created with CDK to build the full stack as Infrastructure as Code (IaC) directly from GitHub.

Page counter from the API to prove the solution is working:

AWS CDKdeploys the front end (HTML/CSS) and back end (IaC) both written in TypeScript
AWS S3stores the website
AWS API Gatewayexposes the interface to query and update the page counter
AWS Lambdacode to query DynamoDB and update the page counter
AWS DynamoDBstores the page counter
AWS Cloudfrontprovides HTTPS access
AWS Certificate ManagerAPI custom domain name and HTTPS access
AWS Route53API and website sub domain names (CNAMEs)
TypescriptCDK code
HTML/CSS/JavaScriptwebsite
GitHubstores the 2 repositories with workflows and deploys them on push
CDK Diagram