Skip to main content
RapidKit

FastAPI DDD Kit

Core-backed FastAPI starter aligned with DDD and clean architecture.

v0.1.0
Apache-2.0
core
stable
fastapi
fastapi
python
ddd
clean-architecture
core-backed

Quick Start

Create a new project:

npx rapidkit create project fastapi.ddd my-api

1. Install RapidKit CLI first

2. Run the command above

3. Follow interactive prompts

Create with Wizard

Overview

A domain-oriented FastAPI starter with clear application, domain, infrastructure, and presentation boundaries for teams building complex backend systems.

How to Use

Step 1: Install RapidKit CLI

npm install -g rapidkit

Prefer one-off usage? Run commands with npx rapidkit.

Step 2: Create Your Project

npx rapidkit create project fastapi.ddd my-api

Replace my-api with your desired project name

Step 3: Navigate and Install Dependencies

cd my-api
npx rapidkit init

Step 4: Start Development Server

npx rapidkit dev

Your API will be available at http://localhost:8000

Quick Tip

Use the interactive wizard for a guided setup experience: npx rapidkit create project

Architecture

Domain-Driven Design + Clean Architecture

This kit implements domain-driven design + clean architecture to ensure scalability, maintainability, and testability of your application.

Key Features

Domain-driven structure
Application service boundaries
Repository pattern
Use case organization
Core module installation
Testing structure

Capabilities

Domain model isolation
Interface-driven design
Module injection points
Layered testing
Workspace contract metadata

Tech Stack

FastAPI
Python 3.10+
Poetry
Pydantic
Docker
DDD Patterns

Perfect For

Domain-rich APIs
Enterprise backends
SaaS services
Product APIs

Module Support

Free Modules
Paid Modules-
Community Modules
Enterprise Modules

Environments

Development

Development environment with hot reload

Production

Production-oriented layered backend

Default Settings

Python Version:3.10
Docker:
CI/CD:
Testing: