Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lilanga/cdk-api-with-lambda-apigateway
REST API using Lambda and API gateway to access DynamoDB, using AWS CDK
https://github.com/lilanga/cdk-api-with-lambda-apigateway
aws-api-gateway aws-lambda cdk dynamodb
Last synced: 25 days ago
JSON representation
REST API using Lambda and API gateway to access DynamoDB, using AWS CDK
- Host: GitHub
- URL: https://github.com/lilanga/cdk-api-with-lambda-apigateway
- Owner: Lilanga
- License: mit
- Created: 2024-08-14T12:38:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T12:44:35.000Z (4 months ago)
- Last Synced: 2024-08-14T14:03:15.585Z (4 months ago)
- Topics: aws-api-gateway, aws-lambda, cdk, dynamodb
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A REST API backed by Lambda and API Gateway using AWS CDK
This project create a REST API using AWS CDK in TypeScript to retrieve the latest sensor readings from a DynamoDB table
The `cdk.json` file tells the CDK Toolkit how to execute your app.
## Useful commands
* `npm run build` compile typescript to js
* `npm run watch` watch for changes and compile
* `npm run test` perform the jest unit tests
* `npx cdk deploy` deploy this stack to your default AWS account/region
* `npx cdk diff` compare deployed stack with current state
* `npx cdk synth` emits the synthesized CloudFormation template