A cookiecutter template for bootstrapping full-stack FastAPI and React projects with PostgreSQL, Docker, and JWT authentication.
FastAPI-React is a cookiecutter template that generates a complete full-stack web application boilerplate with a FastAPI backend and a React frontend. It solves the problem of repetitive project setup by providing a pre-configured stack including authentication, database ORM, Docker containers, testing, and an admin dashboard, allowing developers to jump straight into building features.
Full-stack developers and teams looking to quickly start new web applications using Python (FastAPI) and React, especially those who prefer a structured, production-ready foundation with modern tooling.
Developers choose FastAPI-React because it offers a curated, lightweight alternative to heavier full-stack templates, delivering essential functionality like JWT authentication, background tasks, and a React admin interface without unnecessary complexity, all wrapped in a Dockerized environment for easy development and deployment.
🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
Bundles FastAPI, React with TypeScript, PostgreSQL, SQLAlchemy, and Docker Compose out of the box, eliminating repetitive setup and ensuring a modern foundation.
Implements JWT-based OAuth2 flow with PyJWT and includes a configurable react-admin dashboard for user management, saving significant development time.
Provides Pytest fixtures, a test database, and transaction rollbacks for reliable backend testing, as detailed in the README's fixtures section.
Integrates Celery and Redis for asynchronous tasks with Flower for monitoring, ready for long-running processes like email sending or file uploads.
Enforces standards with Prettier, ESLint (Airbnb style), and Alembic for migrations, promoting maintainable code from the start.
Requires Docker and docker-compose for development, which can be a barrier for teams unfamiliar with containerization or preferring simpler local environments.
Locked into Material-UI for styling and react-admin for the dashboard, making it difficult to swap to other UI libraries or admin solutions without major rework.
Admits that much backend code is taken from FastAPI's official projects, which might limit optimization or customization for unique use cases.
Deployment guidance relies on Docker Swarm and Nginx configurations, which can be overwhelming for beginners or those using cloud platforms without container orchestration.
Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
Feature rich robust FastAPI template.
Generate modern Python clients from OpenAPI
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.