https://github.com/binzcodes/pulumi-minimal-dynamodb-api
A minimal one-file Pulumi API with AWS DynamoDB & API Gateway.
https://github.com/binzcodes/pulumi-minimal-dynamodb-api
Last synced: about 2 months ago
JSON representation
A minimal one-file Pulumi API with AWS DynamoDB & API Gateway.
- Host: GitHub
- URL: https://github.com/binzcodes/pulumi-minimal-dynamodb-api
- Owner: binzcodes
- Created: 2022-06-12T09:40:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-02-06T09:48:06.000Z (4 months ago)
- Last Synced: 2026-02-06T17:41:52.102Z (4 months ago)
- Language: TypeScript
- Size: 1.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pulumi Minimal Serverless API
[](https://gitpod.io/#https://github.com/binzcodes/pulumi-minimal-dynamodb-api)
A minimal serverless API using AWS API Gateway and Lambda functions serving a dynamic DynamoDB-based hit counter.
Tools:
- Pulumi
- AWS API Gateway
- AWS Lambda
- AWS DynamoDB
# run
Deploy resources:
```bash
pulumi stack select && pulumi up
```
Test the endpoint:
```bash
for i in {1..5}; do curl $(pulumi stack output url); done
```
Clean up resources:
```bash
pulumi destroy
pulumi stack rm
```
# contributing
Contrbutions welcome
[](https://gitpod.io/#https://github.com/binzcodes/pulumi-minimal-dynamodb-api)
Based on [pulumi.awsworkshop.com](https://pulumi.awsworkshop.io/additional-content/120_serverless_application_patterns/1_new_project.html)