This project is broken up into two parts:
- The CDK this defines the infrastructure, including the pipeline which deploys the application,
defined in the
lib
directory. - The applications which can be found within the
src
directory. Which is made up of the following:- ECS (container orchestration service), this is acts as a gateway & authenticator to the lambdas and other APIs.
- accountMgr (lambda), manages accounts.
- tripMgr (lambda), manages trips.
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 testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template