Nest app boilerplate for CDK development with AWS RDS, AWS Lambda.
- MacOS Monterey 12.4
- Node 18.12.1 (LTS)
build
: bundle nest appstart
: start nest app for local developmentcdk
: run cdk diff | synth | deployget-lambda
: get lambda endpointget-rds
: get rds endpoint for local connectionmigrate-dev
: create schema on local database(defined in prisma/schema.prisma), and generate sql filesmigrate-deploy
: apply generated sql files to production database
- you need
aws-cli@^1.27.40
and[email protected]
installed. - you need
[email protected]
and[email protected]
- aws configuration with named profile (how to configure aws profile via cli)
- cdk bootstraped (how to bootstrapping for cdk development)
- make environment files named
env/.env.secrets
. All required keys are defined on env/required.json.