Introduction
ForgeAPI is a production-ready FastAPI boilerplate that helps you ship your SaaS faster.
What is ForgeAPI?
ForgeAPI provides everything you need to build a modern web application with Python. It includes authentication, database management, background tasks, and much more—all configured and ready to use out of the box.
Built for Production
Unlike simple templates, ForgeAPI is designed with production deployments in mind. Security, scalability, and developer experience are core priorities.
Key Features
| Feature | Description |
|---|---|
FastAPI | High-performance async Python framework |
PostgreSQL | Robust relational database with SQLAlchemy ORM |
Redis | Caching and session management |
JWT Auth | Secure authentication with refresh tokens |
Docker | Containerized development and deployment |
Project Structure
ForgeAPI follows a clean, modular architecture:
app
api
v1
core
models
services
tests
docker-compose.yml
requirements.txt
Quick Start
Get up and running in minutes:
Terminal
# Clone the repository
git clone https://github.com/yourorg/forgeapi.git
# Navigate to the project
cd forgeapi
# Start with Docker
docker-compose up -dMake sure you have Docker and Docker Compose installed before running the quick start commands.