talira

Full Stack FastAPI Template

A full-stack web app template with FastAPI, React, SQLModel and PostgreSQL

open sourceMITself-hostablefree

Full Stack FastAPI Template is a repository you copy to start a web application: a FastAPI backend with SQLModel and PostgreSQL, and a React frontend built with Vite, Tailwind CSS and shadcn/ui, served by FastAPI on the same domain. It comes with JWT authentication, password hashing, email password recovery, an admin dashboard, Playwright and Pytest tests, GitHub Actions CI/CD, and deployment to FastAPI Cloud or self-hosted with Docker Compose behind Traefik.

Problems it solves

  • start a new web app with a Python API and a React frontend without wiring auth and the database myself
  • a FastAPI project skeleton with login, an admin dashboard and Docker already set up
  • a full-stack template I can deploy to my own server with Docker Compose

Features

  • FastAPI backend with SQLModel, Pydantic and PostgreSQL
  • React, TypeScript and Vite frontend with Tailwind CSS and shadcn/ui, served by FastAPI
  • automatically generated frontend API client
  • JWT authentication, secure password hashing and email password recovery
  • React Email templates and Mailpit for local email testing
  • Pytest and Playwright tests, with GitHub Actions CI and CD
  • Docker Compose with Traefik and automatic HTTPS for self-hosted deployment, or FastAPI Cloud

Alternatives

The same job

These do what Full Stack FastAPI Template does.

  1. The Epic Stack An opinionated full-stack web app starter to ship Epic Web apps
  2. React Starter Kit Full-stack monorepo template for SaaS apps with React 19, tRPC and Cloudflare Workers
  3. Next.js Boilerplate Next.js starter with App Router, TypeScript, Tailwind CSS, Drizzle ORM, auth and a full testing and linting setup

Compare Full Stack FastAPI Template with the top 3