Skip to content
Public template

About

FastAPI template with asyncpg, sqlmodel and alembic

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

133 Commits

Folders and files

Repository files navigation

FastAPI template

FastAPI template with

Run

in development

Use uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload.

in production

Use gunicorn app.main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000.

Docker

Template comes with Dockerfile. Feel free to use it, it's ready for production.

Monitoring

Prometheus metrics

Use http://127.0.0.1:8000/prometheus/metrics to access prometheus metrics.

Actuator (pyctuator)

Use http://127.0.0.1:8000/pyctuator/ to list pyctuator routes.

See Pyctuator repository for more information.

About

FastAPI template with asyncpg, sqlmodel and alembic

Resources

Stars

1 star

Watchers

2 watching

Forks

Sponsor this project

Used by

Contributors

Languages