RESOURCES / FASTAPI STARTER
FastAPI starter

pip install "fastapi[all]"

Alternatively:

pip install fastapi
pip install "uvicorn[standard]"

run.sh

#!/bin/sh

export APP_MODULE=${APP_MODULE-app.main:app}
export HOST=${HOST:-0.0.0.0}
export PORT=${PORT:-8000}

exec uvicorn --reload --host $HOST --port $PORT "$APP_MODULE"