https://github.com/freonius/aws-api-gateway-local
A small example for a local AWS API Gateway V1
https://github.com/freonius/aws-api-gateway-local
Last synced: 3 months ago
JSON representation
A small example for a local AWS API Gateway V1
- Host: GitHub
- URL: https://github.com/freonius/aws-api-gateway-local
- Owner: Freonius
- License: mit
- Created: 2024-01-20T17:22:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T19:03:05.000Z (over 2 years ago)
- Last Synced: 2025-02-17T03:18:59.561Z (over 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS API Gateway Local

A small example of how you can test your lambdas locally like, simulating how they should behave behind an API Gateway on AWS.
There is an article on Medium [here](https://medium.com/@freonius/test-an-aws-api-gateway-locally-b869249090f6).
## TLDR
Run these commands
```bash
docker-compose -f "./docker-compose.yml" up -d --build
cd aws
terraform init
terraform apply -auto-approve
```
and go to [http://localhost:9001](http://localhost:9001) to try it out.
Obviously you need docker and terraform.
## Budget to run this?
0.00 EUR (equivalent to 0.00 USD)