@mbc-cqrs-serverless/cli
Version:
a CLI to get started with MBC CQRS serverless framework
31 lines (20 loc) • 823 B
Markdown
# Welcome to your CDK TypeScript project
This is a project for CDK development with TypeScript.
The `cdk.json` file tells the CDK Toolkit how to execute your app.
## Instruction
- Install requirement package by using command `pnpm install`
- Update test snapshot by using command `npm run test -- --updateSnapshot`
## Use SSO profile
```bash
export AWS_PROFILE=
```
## Useful commands
- `npm run build` compile typescript to js
- `npm run watch` watch for changes and compile
- `npm run test` perform the jest unit tests
- `cdk deploy` deploy this stack to your default AWS account/region
- `cdk diff` compare deployed stack with current state
- `cdk synth` emits the synthesized CloudFormation template
## Useful resources
- https://constructs.dev/
- https://docs.aws.amazon.com/cdk/v2/guide/best-practices.html