Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-20T19:03:05.000Z (about 1 year ago)
- Last Synced: 2024-12-25T19:40:09.493Z (about 2 months 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)