Full Stack FastAPI Template

August 12, 2026 ยท View on GitHub

Test Docker Compose Test Backend

Technology Stack and Features

  • โšก FastAPI for the Python backend API.
    • ๐Ÿงฐ SQLModel for the Python SQL database interactions (ORM).
    • ๐Ÿ” Pydantic, used by FastAPI, for the data validation and settings management.
    • ๐Ÿ’พ PostgreSQL as the SQL database.
  • ๐Ÿš€ React for the frontend.
    • ๐Ÿงฉ Built into the backend application and served by FastAPI on the same domain as the API.
    • ๐Ÿ’ƒ Using TypeScript, hooks, Vite, and other parts of a modern frontend stack.
    • ๐ŸŽจ Tailwind CSS and shadcn/ui for the frontend components.
    • ๐Ÿค– An automatically generated frontend client.
    • ๐Ÿงช Playwright for end-to-end testing.
    • ๐Ÿฆ‡ Dark mode support.
  • โ˜๏ธ FastAPI Cloud for deployment.
  • ๐Ÿ‹ Docker Compose for local services and self-hosted deployment.
    • ๐Ÿ“ž Traefik as a reverse proxy with automatic HTTPS.
  • ๐Ÿ”’ Secure password hashing by default.
  • ๐Ÿ”‘ JWT (JSON Web Token) authentication.
  • ๐Ÿ“ซ Email-based password recovery.
  • ๐Ÿ“ฌ Mailcatcher for local email testing during development.
  • โœ… Tests with Pytest.
  • ๐Ÿญ CI (continuous integration) and CD (continuous deployment) based on GitHub Actions.

Dashboard Login

Dashboard login screenshot

Dashboard - Admin

Admin dashboard screenshot

Dashboard - Items

Items dashboard screenshot

Dashboard - Dark Mode

Dark mode dashboard screenshot

Interactive API Documentation

API docs

How to Use It

Click the Use this template button at the top of this page to create a new repository.

Backend Development

Backend docs: backend/README.md.

Frontend Development

Frontend docs: frontend/README.md.

Deployment

FastAPI Cloud deployment: deployment.md.

Self-hosted deployment with Docker Compose: deployment-docker-compose.md.

Development

General development docs: development.md.

This includes the local FastAPI and Vite workflow, Docker Compose services, .env configuration, and more.

Release Notes

Check the file release-notes.md.

License

The Full Stack FastAPI Template is licensed under the terms of the MIT license.