FastAPI Template
dev.to·12w·
Discuss: DEV

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help