Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Repository files navigation

Serverless Template

Using this template:

  • Update the stack name, description and region in /packages/cdk/bin/cdk.ts

  • Update metadata files in /.github most importantly FUNDING.yml, CODEOWNERS, and README.md

  • Write your UI library in /packages/ui

  • Write your shared utilities in /packages/utils

  • Write your client functionality in /services/client, a React SPA built using Vite

  • Write your API in /services/api, an Express.js app bundled using ESBuild

    • I recommend treating this API as an edge service — a "back-end for front-end" — and simply use it to call downstream data-domain or business logic APIs

Demo

View a deployed demo of the template at d3ohu3yecjc5ag.cloudfront.net

The API is accessible on /api/*, the client is accessible on all other endpoints.

About

⚡️ Template to build a serverless app deployed to AWS. Features a React SPA deployed to AWS S3, an Express.js based API deployed to AWS Lambda, with both connected and served over AWS CloudFront, all configured using the AWS CDK.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages