Full Stack FastAPI Template¶
Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. π
You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
GitHub Repository: Full Stack FastAPI Template
Full Stack FastAPI Template - 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.
- π 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.
- π Docker Compose for development and production.
- π Secure password hashing by default.
- π JWT (JSON Web Token) authentication.
- π« Email based password recovery.
- β Tests with Pytest.
- π Traefik as a reverse proxy / load balancer.
- π’ Deployment instructions using Docker Compose, including how to set up a frontend Traefik proxy to handle automatic HTTPS certificates.
- π CI (continuous integration) and CD (continuous deployment) based on GitHub Actions.