fastapi-fullstack
Python full-stack with FastAPI, React, PostgreSQL, and Docker.
When & Why to Use This Skill
This Claude skill provides a comprehensive boilerplate for building modern web applications using the FastAPI full-stack template. It streamlines the development process by integrating a high-performance Python FastAPI backend, a React frontend, and a PostgreSQL database, all containerized with Docker for seamless deployment and scalability. It is designed to help developers skip the repetitive setup phase and jump straight into feature implementation.
Use Cases
- Rapid Prototyping: Quickly launch a Minimum Viable Product (MVP) with a pre-configured, production-ready tech stack.
- Enterprise Web Development: Build scalable, high-performance web applications leveraging asynchronous Python and a robust ORM.
- Full-Stack Scaffolding: Automatically generate the directory structure and configuration for backend, frontend, and database integration.
- Dockerized Deployment: Utilize pre-configured Docker Compose files for consistent development environments and simplified cloud deployment.
| name | fastapi-fullstack |
|---|---|
| description | Python full-stack with FastAPI, React, PostgreSQL, and Docker. |
FastAPI Full Stack
A Python full-stack application with FastAPI backend.
Tech Stack
- Backend: FastAPI, Python
- Frontend: React
- Database: PostgreSQL
- ORM: SQLAlchemy
Prerequisites
- Python 3.11+
- Docker (recommended)
Setup
1. Clone the Template
git clone --depth 1 https://github.com/tiangolo/full-stack-fastapi-template.git .
If the directory is not empty:
git clone --depth 1 https://github.com/tiangolo/full-stack-fastapi-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Remove Git History (Optional)
rm -rf .git
git init
3. Setup with Docker (Recommended)
docker compose up -d
4. Or Setup Manually
cd backend
pip install -r requirements.txt
Development
With Docker:
docker compose up -d
Manual:
cd backend
uvicorn main:app --reload