Hack U KOSEN 2023 backend repository
- MacOS Ventura 13.0
- Arch Linux
- Go
- aws-lambda-go
- aws-sdk-go-v2
- aws-sdk-go
- TypeScript
- aws-cdk-lib
- Clone this repository
https://github.com/youngeek-0410/candle-backend/
- Install library
npm install
- Bootstrapping
cdk bootstrap --toolkit-stack-name CandleCDKToolkit --qualifier candle
- Deploy
cdk deploy CandleBackendStack --previous-parameters false
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