This is a boilerplate project for developing serverless Lambda functions with TypeScript, AWS CDK, and Localstack.
npm run build
Compile Typescript to jsnpm run watch
Watch for changes to Typescript and compilenpm run test
Run the Jest unit tests
npm run cdklocal:bootstrap
Bootstrap the CDK stack to be able to deploy it to localstacknpm run cdklocal:deploy
Deploy the stack to localstack
npm run cdk:bootstrap
Bootstrap the CDK stack to be able to deploy it to AWSnpm run cdk:deploy
Deploy the stack to AWS
This repository expands on several original ideas and guidance provided by these blog post and accompanying repositories.