This is a project for TypeScript development with CDK.
The cdk.json file tells the CDK Toolkit how to execute the app.
This is the infra that mostly powers my personal website. I setup the ACM cert & route53 hosted zone manually, but the S3 & Cloudfront is defined here. I then manually upload files to S3 and manually invalidate cloudfront for the changes to go live. It also supports CORS.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to the default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template