Skip to content

calasanmarko/lamba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A tiny development web server that wraps over AWS lambda handlers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published