Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calasanmarko/lamba
A tiny development web server that wraps over AWS lambda handlers
https://github.com/calasanmarko/lamba
Last synced: about 1 month ago
JSON representation
A tiny development web server that wraps over AWS lambda handlers
- Host: GitHub
- URL: https://github.com/calasanmarko/lamba
- Owner: calasanmarko
- License: mit
- Created: 2023-07-19T16:56:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-10T00:14:03.000Z (over 1 year ago)
- Last Synced: 2024-11-28T00:04:47.680Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lamba
*A tiny development web server that wraps over AWS lambda handlers*If you're tired of how slow `sam local start-api` is for local development, you can use **lamba** to serve local endpoints corresponding to the AWS SAM lambda handlers in your codebase. Thrown together in an afternoon -- still very much in development.
# Usage
`lamba [path_to_config=./lamba.json]`# Configuration
Configuration happens through a `lamba.json` file. If one isn't passed as an argument, tries to default to a `launch.json` file in the current folder.**Example structure**
```
{
"port": 6987,
"routes": [
{
"path": "/local_path_starting_with_slash",
"endpoint": "/endpoint_starting_with_slash/:optional_path_param"
},
...
]
"env": [
"key": "value",
...
]
}
```# License
Licensed under the MIT License. Made by Marko Calasan, 2023.