This is a blank project for CDK development with TypeScript.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
- compile typescript to jsnpm run watch
- watch for changes and compilenpm run test
- perform the jest unit testscdk deploy
- deploy this stack to your default AWS account/regioncdk diff
- compare deployed stack with current statecdk synth
- emits the synthesized CloudFormation template
-
clone
.env.example
and create.env
. You can execute:cp .env.example .env
-
Populate
.env
with real data. -
npm run local
- It will run the server / mimick AWS API Gateway
Then the app is ready to accept HTTP Calls. It will show the available endpoitns to the console.