Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.14 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.14 KB

Ausgaben AWS Backend

Build Renovate Mergify Status Commitizen friendly code style: prettier

5th iteration of the Ausgaben backend, built using AWS serverless components.

Deploy

Make sure your have AWS credentials in your environment.

npm ci
npx tsc

# if this is the run the first time in an account
npx cdk -a 'node dist/aws/cloudformation-sourcecode.js' deploy

npx cdk deploy

Tests

export AGGREGATE_EVENTS_TABLE=`aws cloudformation describe-stacks --stack-name ${STACK_NAME:-ausgaben-dev} | jq -r '.Stacks[0].Outputs[] | select(.OutputKey == "aggregateEventsTableName") | .OutputValue'`
npm test