/fastapi-mangum-example

Deploy FastAPI as Lambda using serverless and mangum

Primary LanguagePython

FastAPI-mangum-example

Prerequisites:

  • Python 3.6
  • serverless

setup virtualenv

python3 -m venv venv

source venv/bin/activate

deploy to aws

npm install

sls deploy --region "us-east-1" --stage "dev"