Codapult
DocsBlogPricingPluginsDemo
Get Codapult
Logo

Build your SaaS with AI. Keep the architecture under control.

Get Codapult

Product

  • Pricing
  • Architecture
  • Modules
  • AI platform
  • Plugins

Developers

  • MCP
  • CLI
  • Documentation
  • Launch your SaaS
  • Build a B2B SaaS

Resources

  • Blog
  • FAQ

Connect

  • Contact
  • GitHub

Compare

  • SaaS template comparison
  • Codapult vs Supastarter
  • Codapult vs Makerkit
  • Codapult vs ShipFast
  • Codapult vs SaaSBold
  • Codapult vs Gravity
  • Codapult vs Nextbase
  • Codapult vs BuilderKit

Featured on

Codapult on LaunchNestCodapult on LaunchNestbetterlaunch.cobetterlaunch.coFeatured on LaunchBuffFeatured on LaunchBuffCodapult on PeerPushCodapult on PeerPushFeatured on LaunchItFeatured on LaunchIt
© 2026 Codapult·All rights reserved·Privacy Policy·Terms of Service
Full source code · One-time purchase · Self-host anywhere
All articles

Getting Started

  • Introduction
  • Quick Start
  • Your First 30 Minutes
  • Project Structure
  • License and Permitted Use
  • Starter Profiles and Recipes
  • Product Recipes

Configuration

  • Environment Variables
  • App Configuration
  • Which Modules Should I Enable?
  • Provider Matrix
  • Capability Coverage

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Database

  • Database
  • Database and Provider Guide
  • Migrations

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Deployment

  • Deployment
  • Enterprise E2E Evidence
  • Enterprise Production Readiness
  • Deployment, Backup, and Restore Runbook
  • Troubleshooting

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Ai

  • AI Features
  • AI Runtime Architecture and Evals
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Security

  • Security
  • Data Retention Policy

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Welcome Page
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Referrals
  • GDPR Export and Deletion
  • Promotions
  • Outgoing Webhooks

Plugins

  • Plugin System
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
  • Build Your First Feature with Codapult MCP
  • How Guard Blocks an Architectural Regression
Modules

Module Architecture

How Codapult modules work, how to choose the right capabilities, and how to configure or remove features you do not need.

Design Principles

Every feature in Codapult is packaged as a self-contained module with its own directories, routes, components, and database tables. Modules follow three rules:

  1. Bounded — each module has a defined capability boundary and documented dependencies, so its scope is visible before you change the project.
  2. Core-dependent only — modules depend on the Core layer (Auth, Database, Rate Limiting, Validation), not on each other, unless explicitly noted.
  3. CLI-removable where mapped — the interactive setup wizard can remove supported module groups automatically; shared schema and dependencies still require review.

Module Map

ModuleDependenciesRemovableEnv Toggle
AuthCore (required)No
DatabaseCore (required)No
AI Core and ChatAuthYesENABLE_AI_CORE
AI ChatAI CoreYesENABLE_AI_CHAT
BillingNoneYes
BlogNoneYesENABLE_BLOG
TeamsAuthYesENABLE_TEAMS
NotificationsAuthYes
Feature FlagsDBYes
File UploadsAuthYes
WaitlistEmailYesENABLE_WAITLIST
Welcome PageBilling, AuthYes
API KeysAuth, DBYes
Usage CreditsAuth, DBYes
Activity LogDBYesENABLE_AUDIT_LOG
Webhook LogDBYes
Support WidgetNoneYes
EmailResendYes
i18nnext-intlYes
Analytics (PostHog)PostHogYes
SEONoneYes
Sentry@sentry/nextjsYes
GraphQL APIgraphql-yogaYes
Enterprise SSONoneYes
Help CenterNoneYesENABLE_HELP_CENTER
A/B TestingDBYesENABLE_EXPERIMENTS
Feature RequestsDBYesENABLE_FEATURE_REQUESTS
Stripe ConnectStripeYes
Event StoreDBYes
White-labelingDBYesENABLE_BRANDING
GDPRDBYes
Outgoing WebhooksDBYesENABLE_WEBHOOKS
Drip CampaignsEmail, JobsYesENABLE_DRIP_CAMPAIGNS
Onboarding ToursDBYesENABLE_ONBOARDING
Analytics (Self-serve)DBYesENABLE_ANALYTICS
Custom DomainsDBYes
WorkflowsEmailYesENABLE_WORKFLOWS
ReferralsDBYesENABLE_REFERRALS
PromotionsDB, PaymentsYesENABLE_PROMOTIONS
OpenTelemetry@opentelemetry/*Yes
Changelog WidgetNoneYesENABLE_CHANGELOG
RAG Pipeline@ai-sdk/openaiYes
SCIM ProvisioningTeamsYes
Chat MemoryAI Chat, DBYes
Scheduled ReportsEmail, JobsYesENABLE_REPORTS
API VersioningNoneYes
Audit Log (User)Activity LogYes

The Removable column describes whether the capability has a supported removal path. The setup wizard covers a defined set of module groups; capabilities such as Billing, Email, Notifications, File Uploads, and SEO require manual review or configuration. The exact generated diff is the authority for the version you install.

Removal vs. Disabling: Two Different Operations

Codapult has two separate ways to exclude a module from your product. Understanding the difference before setup matters.

Removing a module (CLI or manual): The module's mapped code is deleted from your repository — files, routes, and components covered by the removal scope. Shared schema, imports, and dependencies must be reviewed when they are used by more than one module. Use this path when the capability is outside your product scope; the generated diff gives you a clear review point before you continue. If the product expands later, restore the capability by merging the relevant source from the template and reviewing the resulting diff.

Disabling a module (env var, reversible): If a module is present in the codebase but you are not ready to use it, you can hide it via an environment variable. The code stays in the repo; the feature is invisible to users. Flip the variable to re-enable it at any time, with no code changes.

Practical rule: Remove modules you are confident are outside your product's scope. Keep modules you may introduce later and disable them via env var until the product is ready for them. This keeps the path reversible while you shape the first release.

Removing or disabling a module

Run the interactive setup wizard and deselect the modules you do not need:

npx @codapult/cli setup

The wizard deletes mapped files and applies supported prune markers. Review shared imports, schema tables, environment variables, and dependencies before generating migrations or building the project.

Review the generated change. The wizard deletes mapped files and applies prune markers — it does not just hide the feature. If a capability may return later, leave it in and turn it off with the matching ENABLE_* environment variable instead (see the Module Map below or Environment Variables).

Dependency Boundaries

Modules form a layered dependency graph. The Core layer is required; everything above it is optional, with removal scope and dependencies documented per module.

┌───────────────────────────────────────────────┐
│                 Core Layer                    │
│  (Auth, Database, Rate Limiting, Validation)  │
└─────────────────────┬─────────────────────────┘
                      │
         ┌────────────┼────────────┐
         │            │            │
    ┌────▼────┐  ┌────▼────┐  ┌────▼────┐
    │ Billing │  │  Teams  │  │  Admin  │
    └─────────┘  └─────────┘  └─────────┘
         │            │            │
    ┌────▼────┐  ┌────▼────┐  ┌────▼────┐
    │ Usage   │  │  RBAC   │  │ Feature │
    │ Credits │  │         │  │  Flags  │
    └─────────┘  └─────────┘  └─────────┘

Most modules build on the Core layer, and some also depend on other modules. The Dependencies column is authoritative; for example, SCIM Provisioning depends on Teams and Chat Memory depends on AI Chat.

Analytics & MonitoringWaitlist