Backend for Dieter - System for managing food recipes and shopping lists
This repository contains a "backend" code and infrastructure that is used in Dieter project. It holds all the Lambda functions code as well as infrastructure resources. AWS CDK is used as a Infrastructure-as-a-Code. It creates a set of AWS Lambda functions, API Gateway and Cognito User Pool.
lib
has the CDK code that represents how infrastructure should look likeresources
contains source code for Lambda functionsstatic
holds JSON files with meals recipesnpm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template