5th iteration of the Ausgaben backend, built using AWS serverless components.
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
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