https://github.com/gispada/flying-food-backend-aws-cdk
Backend for Flying Food training app, to experiment with AWS and AWS CDK
https://github.com/gispada/flying-food-backend-aws-cdk
aws aws-apigateway aws-cdk aws-dynamodb aws-lambda serverless
Last synced: 3 months ago
JSON representation
Backend for Flying Food training app, to experiment with AWS and AWS CDK
- Host: GitHub
- URL: https://github.com/gispada/flying-food-backend-aws-cdk
- Owner: gispada
- Created: 2022-04-25T11:24:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T09:36:32.000Z (over 3 years ago)
- Last Synced: 2025-09-03T05:38:58.540Z (11 months ago)
- Topics: aws, aws-apigateway, aws-cdk, aws-dynamodb, aws-lambda, serverless
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flying Food backend with AWS CDK
Project for the Flying Food training app backend.
The cloud infrastructure is setup with **AWS CDK**; it's a simple stack with:
- DynamoDB
- Lambda functions (with a shared layer)
- REST API Gateway
## Folders structure
- `src`: business logic source code (functions)
- `lib`: CDK constructs to create the project stack
- `data`: initial data that can be imported into DynamoDB
- `scripts`: useful scripts
## Commands
- `npm run deploy`: compiles the source code and deploys the stack to AWS
- `npm run seed`: populates DynamoDB tables with data inside the `data` folder (it must be run after deploy)
- `cdk destroy`: tears down the stack
> **Note**: `aws-cdk` and `aws-cli` needs to be globally installed and configured.