Skip to content

0.1.0

Choose a tag to compare

@chrnmaxim chrnmaxim released this 23 Jul 10:19
· 13 commits to main since this release
28ac60e

Template repository to quick start a new FastAPI project.

Key features:

  • Configured SwaggerUI, doc URLs and homepage in src.main.app (fastapi.FastAPI instance).
  • Configured SQLAlchemy Session and Engine with AsyncAdaptedQueuePool as poolclass, echo mode and application_name for proper monitoring connections from the app to a database or a connection pooler.
  • Configured pytest for integration tests in Docker with independent PostgreSQL database.
  • Configured alembic for database migrations.
  • BaseRepository class as the main interface for basic CRUD operations with DB models.
  • Docker files for tests and local app start.
  • Makefile with commands for convenient usage.
  • CI workflow in GitHub Actions that starts with each commit into open PR into develop or main branches.