FastAPI Template
dev.to·5h·
Discuss: DEV
Flag this post

I’m excited to share my new open-source project: Fastapi-Template

It’s designed to give you a solid starting point for building backend APIs with FastAPI while incorporating best practices so you can focus on business logic instead of infrastructure. You can check the docs folder for a walkthrough of the architecture and code.

Highlights

  • Token authentication using JWT with secure password hashing
  • Async SQLAlchemy v2 integration with PostgreSQL
  • Database migrations using Alembic
  • Organized folder structure with clear separation for routes, schemas, services, and repositories
  • Structured logging with Loguru
  • Ready-to-use .env configuration and environment manage…

Similar Posts

Loading similar posts...