FastAPI DDD Kit
Opinionated FastAPI starter aligned with domain-driven design practices.
Quick Start
Create a new project:
npx rapidkit create project fastapi.ddd my-project1. Install RapidKit CLI first
2. Run the command above
3. Follow interactive prompts
Overview
An advanced FastAPI starter kit implementing Domain-Driven Design (DDD) and Clean Architecture principles. Features a layered architecture with clear separation between domain, application, infrastructure, and presentation layers. Ideal for complex business applications.
How to Use
Step 1: Install RapidKit CLI
pipx install rapidkit-coreOr use: pip install rapidkit-core
Step 2: Create Your Project
npx rapidkit create project fastapi.ddd my-projectReplace my-project with your desired project name
Step 3: Navigate and Install Dependencies
cd my-project
npx rapidkit initStep 4: Start Development Server
npx rapidkit devYour API will be available at http://localhost:8000
Quick Tip
Use the interactive wizard for a guided setup experience: npx rapidkit create project
Architecture
This kit implements domain-driven design (ddd) + clean architecture to ensure scalability, maintainability, and testability of your application.
Key Features
Capabilities
Tech Stack
Perfect For
Module Support
Environments
Development environment with hot reload
Production environment optimized for performance