Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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