https://github.com/binzcodes/pulumi-nano-dynamo-express-api
https://github.com/binzcodes/pulumi-nano-dynamo-express-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/binzcodes/pulumi-nano-dynamo-express-api
- Owner: binzcodes
- License: apache-2.0
- Created: 2022-06-14T10:16:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T20:59:51.000Z (over 1 year ago)
- Last Synced: 2025-03-22T11:48:05.987Z (about 1 year ago)
- Language: TypeScript
- Size: 612 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimnal serverless api DynamoDB
A barebones serverless [Express](https://expressjs.com/) API template using Pulumi's cloud.HttpServer built on AWS API Gateway and Lambda functions, serving a dynamic DynamoDB-based hit counter.
- Pulumi
- AWS Lambda
- AWS API Gateway
- AWS DynamoDB
## run
```bash
# Deploy resources:
pulumi up
# Test the endpoint:
pulumi stack select
for i in {1..5}; do curl $(pulumi stack output url); done
# Clean up resources:
pulumi destroy
pulumi stack rm
```
## todo
- Linting with Prettier
- Testing with jest
- Gitpod support
Based on: [awsworkshop.com](https://pulumi.awsworkshop.io/additional-content/120_serverless_application_patterns/1_new_project.html)