SAM start-local API

PHOTO EMBED

Sun Sep 17 2023 22:12:11 GMT+0000 (Coordinated Universal Time)

Saved by @swina

# Create a copy of template.yml named template.local.yml and set your local env.
# -t = use specific template
# -p = port
# --host = 0.0.0.0 (lan access)

sudo sam local start-api -p 8181 --host 0.0.0.0 -t template.local.yml
content_copyCOPY