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 CDK | deploys the front end (HTML/CSS) and back end (IaC) both written in TypeScript |
AWS S3 | stores the website |
AWS API Gateway | exposes the interface to query and update the page counter |
AWS Lambda | code to query DynamoDB and update the page counter |
AWS DynamoDB | stores the page counter |
AWS Cloudfront | provides HTTPS access |
AWS Certificate Manager | API custom domain name and HTTPS access |
AWS Route53 | API and website sub domain names (CNAMEs) |
Typescript | CDK code |
HTML/CSS/JavaScript | website |
GitHub | stores the 2 repositories with workflows and deploys them on push |