This is a demo application that I used to present to Nebraska.Code() conference on AWS Cloud Development Kit (CDK) with slides available in this repo as well.
Architecture Diagram
I also recorded an introductory talk covering AWS CDK along with a detailed walk-thru of this demo application and posted to YouTube
npm install -g yarn
npm install -g aws-cdk
Bootstrap your AWS account to use CDK
cdk bootstrap aws://ACCOUNT-NUMBER-1/REGION-1
- Build the frontend application
cd lib/dashboard-app
yarn && yarn build
- Build the CDK project
run this from the project root (same directory as the cdk.json file)
yarn && yarn build
- Synthesize the CDK project
run this from the project root (same directory as the cdk.json file)
yarn synth
- Deploy the CDK project
yarn deploy
- Destroy the project
yarn destroy