# fastapi/full-stack-fastapi-template

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/fastapi-full-stack-fastapi-template).**

41,625 stars · 8,111 forks · TypeScript · mit

## Links

- GitHub: https://github.com/fastapi/full-stack-fastapi-template
- awesome-repositories: https://awesome-repositories.com/repository/fastapi-full-stack-fastapi-template.md

## Topics

`backend` `chakra-ui` `docker` `fastapi` `frontend` `json` `json-schema` `jwt` `letsencrypt` `openapi` `postgresql` `python` `react` `sqlmodel` `swagger` `tanstack-query` `tanstack-router` `traefik` `typescript`

## Description

This project is a full-stack web application scaffolder designed to initialize production-ready projects with pre-configured database, authentication, and deployment settings. It provides a standardized starting point for development by generating a complete application structure that includes integrated backend, frontend, and database components.

The template distinguishes itself through a type-safe integration layer that automatically synchronizes backend API definitions with frontend client code, ensuring consistent data exchange. It also features a containerized development environment that supports live code synchronization and interactive debugging, allowing developers to iterate on services without rebuilding images.

The project covers a broad capability surface, including automated database migrations, continuous deployment pipelines, and a built-in administrative dashboard for user and data management. It also incorporates infrastructure tools such as reverse-proxy routing and environment-variable-based configuration to maintain consistency across local development and remote production environments.

The repository is intended to be used as a template for new projects, supporting rapid initialization through a command-line scaffolding tool.

## Tags

### Web Development

- [API Integration Layers](https://awesome-repositories.com/f/web-development/api-integration-layers.md) — A set of automated tools that synchronize backend schema definitions with frontend clients to ensure consistent data exchange and interface reliability.
- [Project Scaffolding](https://awesome-repositories.com/f/web-development/project-scaffolding.md) — Generates production-ready full-stack applications from pre-configured templates. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))
- [Full-Stack Frameworks](https://awesome-repositories.com/f/web-development/full-stack-frameworks.md) — Initializes production-ready web applications with pre-configured database and authentication settings.
- [API Client Generators](https://awesome-repositories.com/f/web-development/api-client-generators.md) — Synchronizing frontend and backend communication by automatically generating client code from API schemas to prevent data structure mismatches. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/frontend/README.md))
- [API Documentation](https://awesome-repositories.com/f/web-development/api-documentation.md) — Provides an interactive interface for testing and validating backend API endpoints. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))
- [Development Servers](https://awesome-repositories.com/f/web-development/development-servers.md) — Provides a local development server with live reloading for rapid frontend iteration. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/frontend/README.md))

### Data & Databases

- [Database Migrations](https://awesome-repositories.com/f/data-databases/database-migrations.md) — Generate and apply database schema changes using automated revision tracking to synchronize data models with the underlying database structure during the active development of the application. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/backend/README.md))
- [Database Migration Tools](https://awesome-repositories.com/f/data-databases/database-migration-tools.md) — Tracks and applies schema changes using versioned revision files to synchronize data models with the underlying database structure during development.

### Development Tools & Productivity

- [Package Managers](https://awesome-repositories.com/f/development-tools-productivity/package-managers.md) — Control project dependencies and virtual environments using a dedicated package manager to ensure consistent software behavior across different machines and various local development or production setups. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/backend/README.md))
- [Development Containers](https://awesome-repositories.com/f/development-tools-productivity/development-containers.md) — Define local development environments using container overrides to enable live code synchronization and interactive debugging sessions without requiring a full rebuild of the underlying application images. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/backend/README.md))
- [Development Environments](https://awesome-repositories.com/f/development-tools-productivity/development-environments.md) — A pre-configured setup that synchronizes local code changes with containerized services to streamline testing, debugging, and iterative feature development.
- [Project Scaffolding Tools](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-tools.md) — Initializes new applications by cloning and configuring pre-defined code structures to provide a standardized starting point for full-stack development.
- [Scaffolding Configuration](https://awesome-repositories.com/f/development-tools-productivity/scaffolding-configuration.md) — Customizes project generation by defining database and authentication parameters via input variables. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))

### DevOps & Infrastructure

- [Container Orchestration](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration.md) — Defines containerized stacks with environment-specific overrides for consistent deployment. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/development.md))
- [Continuous Deployment](https://awesome-repositories.com/f/devops-infrastructure/continuous-deployment.md) — Automates build and deployment pipelines to streamline software delivery.
- [Orchestration Tools](https://awesome-repositories.com/f/devops-infrastructure/orchestration-tools.md) — Launch containerized services using orchestration tools and configuration files to create a production-ready environment that maintains consistent performance and reliability for all hosted application components. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/deployment.md))
- [Continuous Deployment Runners](https://awesome-repositories.com/f/devops-infrastructure/continuous-deployment-runners.md) — Execute application deployments by installing self-hosted runners on a server to process repository events for consistent and reliable software delivery across multiple environments. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/deployment.md))
- [Infrastructure Orchestration](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-orchestration.md) — Orchestrates multi-service stacks to ensure consistent performance across environments.
- [Container Orchestration Tools](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration-tools.md) — A collection of configuration files and scripts that manage the lifecycle of multi-service applications across development and production environments.
- [Environment Configuration](https://awesome-repositories.com/f/devops-infrastructure/environment-configuration.md) — Manages project configurations and secrets through centralized, environment-aware files. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/development.md))
- [Server Provisioning](https://awesome-repositories.com/f/devops-infrastructure/server-provisioning.md) — Configure a remote server for hosting by setting up domain records, subdomains, and container engines to support the deployment of isolated and scalable applications. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/deployment.md))

### Software Engineering & Architecture

- [API Client Generators](https://awesome-repositories.com/f/software-engineering-architecture/api-client-generators.md) — Automatically creates type-safe frontend code from backend API definitions to ensure data structure alignment and consistent communication between services.

### Security & Cryptography

- [Authentication Strategies](https://awesome-repositories.com/f/security-cryptography/authentication-strategies.md) — Secures administrative areas through session-based user authentication and access control. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))

### Testing & Quality Assurance

- [End-to-End Testing](https://awesome-repositories.com/f/testing-quality-assurance/end-to-end-testing.md) — Simulates real-world user interactions to verify critical system logic and journeys.
- [End-to-End Testing Frameworks](https://awesome-repositories.com/f/testing-quality-assurance/end-to-end-testing-frameworks.md) — Execute end-to-end tests against a running application stack to verify critical user journeys and interface interactions using automated browser tools for consistent quality assurance testing. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/frontend/README.md))
- [Test Runners](https://awesome-repositories.com/f/testing-quality-assurance/test-runners.md) — Execute automated test suites within a containerized environment to verify application logic, supporting custom arguments and generating coverage reports to ensure high code quality and reliability. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/backend/README.md))

### Networking & Communication

- [Reverse Proxies](https://awesome-repositories.com/f/networking-communication/reverse-proxies.md) — Launch a network proxy as a public gateway to manage incoming web traffic, handle security certificates, and route requests to multiple containerized services on one server. ([source](https://github.com/fastapi/full-stack-fastapi-template/blob/master/deployment.md))

### System Administration & Monitoring

- [Administration Dashboards](https://awesome-repositories.com/f/system-administration-monitoring/administration-dashboards.md) — Provides a dedicated interface for system oversight, user management, and configuration. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))

### User Interface & Experience

- [Data Management Interfaces](https://awesome-repositories.com/f/user-interface-experience/data-management-interfaces.md) — Simplifies data management and organization through a user-friendly dashboard interface. ([source](https://github.com/fastapi/full-stack-fastapi-template#readme))
