Introduction

Welcome to Starterbase, a production-ready app template that combines FastAPI and Next.js to help you build modern web applications quickly.

What is Starterbase?

Starterbase is a full-stack template that provides everything you need to launch your product:

Who is this for?

Starterbase is perfect for:

Key Features

Backend (FastAPI)

Frontend (Next.js)

Developer Experience

Architecture Overview

                    ┌─────────────────────┐
                    │   OAuth Providers   │
                    │ Google/Microsoft/   │
                    │       Apple         │
                    └──────────┬──────────┘
                               │
┌──────────────────────────────┼──────────────────────────────┐
│                              │                               │
│  ┌───────────────────────────▼────────────────────────────┐ │
│  │                      Frontend                          │ │
│  │                Next.js 16 + React 19                   │ │
│  │            (Port 3000 - http://localhost:3000)         │ │
│  │                                                        │ │
│  │  • 50+ UI Components    • 18 Landing Components        │ │
│  │  • TanStack Query       • i18n Support                 │ │
│  │  • Admin Back-Office    • Dark Mode                    │ │
│  └───────────────────────────┬────────────────────────────┘ │
│                              │                               │
│                              │ REST API (JSON)               │
│                              │                               │
│  ┌───────────────────────────▼────────────────────────────┐ │
│  │                      Backend                           │ │
│  │               FastAPI + SQLAlchemy 2.0                 │ │
│  │            (Port 8000 - http://localhost:8000)         │ │
│  │                                                        │ │
│  │  • Auth (JWT, OAuth, 2FA)  • Multi-Tenant Orgs        │ │
│  │  • MCP Server (AI)         • Admin API                 │ │
│  │  • Billing (Stripe)        • Email (Resend)           │ │
│  └──────┬─────────────┬─────────────┬─────────────┬──────┘ │
│         │             │             │             │         │
│         ▼             ▼             ▼             ▼         │
│  ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌──────────┐ │
│  │ PostgreSQL │ │   Redis    │ │   Stripe   │ │  Resend  │ │
│  │ Port 5432  │ │ Port 6379  │ │  (Billing) │ │ (Email)  │ │
│  └────────────┘ └────────────┘ └────────────┘ └──────────┘ │
│                                                             │
│                         Docker Compose                      │
└─────────────────────────────────────────────────────────────┘

                    ┌─────────────────────┐
                    │    AI Assistants    │
                    │   (Claude Desktop   │
                    │    via MCP Server)  │
                    └─────────────────────┘

Getting Started

Ready to dive in? Head over to the Quick Start Guide to get Starterbase running in 5 minutes.

Documentation Structure

This documentation is organized into several sections:

Technology Stack

Backend

Technology Purpose
FastAPI Modern Python web framework
SQLAlchemy 2.0 Async ORM for PostgreSQL
Alembic Database migration tool
Pydantic Data validation and serialization
Stripe Payment processing
Resend Transactional emails
Redis Caching and sessions
pytest Testing framework

Frontend

Technology Purpose
Next.js 16 React framework with App Router
React 19 UI library with Server Components
TanStack Query Server state management
Tailwind CSS Utility-first CSS framework
TypeScript Type safety
Zod Schema validation

Infrastructure

Technology Purpose
Docker Containerization
PostgreSQL Relational database
Redis In-memory data store
Stripe Payment processing
Resend Transactional emails
nginx Reverse proxy (optional)

Philosophy

Starterbase is built with these principles in mind:

  1. Deployment First - Docker-ready from day one, production configs included
  2. Agentic First - Built-in MCP server for AI assistant integration
  3. Simplicity First - Clear patterns over clever abstractions
  4. Type Safety - Catch errors at development time
  5. Developer Joy - Fast feedback loops and great DX
  6. Production Ready - Security, testing, and deployment best practices
  7. Flexible - Easy to customize and extend

License

Starterbase is released under a commercial license. See the LICENSE file for details.

Support

Need help? Here's how to get support:

Next Steps

Continue to the Quick Start Guide to get Starterbase running on your machine.