Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 643 Bytes

File metadata and controls

28 lines (20 loc) · 643 Bytes

Nano AWS serverless Express DynamoDB API

A bare-bones serverless Express API template using Pulumi's cloud.HttpServer built on AWS API Gateway and Lambda functions, serving a dynamic DynamoDB-based hit counter.

  • Express
  • Pulumi cloud.HttpServer
  • AWS Lambda
  • AWS API Gateway
  • AWS DynamoDB

Run


You wil need Pulumi cli, then:

# 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