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 buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpx cdk deploydeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation template