FastAPI

FastAPI + Postgres

Python API with a managed database.

FastAPI + SQLModel starter that provisions a managed Postgres add-on and wires DATABASE_URL for you. Alembic migrations on first boot.

Includes managed add-ons
postgres — provisioned automatically on first deploy.

Setup

  1. Click Deploy to Buildfyio.
  2. We provision a managed Postgres instance and inject DATABASE_URL.
  3. The first boot runs alembic upgrade head before starting Uvicorn.
  4. Your API is live at <slug>.buildfyio.app/docs.

Related