Skip to content

dimmaski/fastapi-sam-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy FastAPI on Lambda/API Gateway using SAM

# setup locally
virtualenv -p python3.8 -v venv
source venv/bin/activate
pip install -r tests/requirements.txt -r app/requirements.txt

# test
pytest -v

# deploy
sam build --use-container
sam deploy --guided

# destroy
aws cloudformation delete-stack --stack-name demo

# run
uvicorn app.app:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages