Codapult
ЦеныПлагиныБлогДокументацияДемо

SaaS-бойлерплейт для разработчиков

© 2026 Codapult. Все права защищены.

Сделано на Codapult

Проект

  • Цены
  • Плагины
  • Документация
  • Сравнение SaaS-шаблонов

О нас

  • Контакты

Правовая информация

  • Политика конфиденциальности
  • Условия использования
Все статьи

Getting Started

  • Introduction
  • Quick Start
  • Project Structure
  • License and Permitted Use

Configuration

  • Environment Variables
  • App Configuration

Authentication

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

Database

  • Database
  • Migrations

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Payments

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

Api

  • API Layer
  • tRPC
  • GraphQL

Ai

  • AI Features
  • 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

Monitoring

  • Analytics & Monitoring

Modules

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

Plugins

  • Plugin System
  • AI Kit Plugin
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Deployment

  • Deployment
  • Troubleshooting

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
Getting Started

Introduction

Learn what Codapult is, which Next.js SaaS boilerplate features are included, how the modular architecture works, and when to use it.

What Is Codapult

Codapult is a production-ready SaaS boilerplate for Next.js 16. It gives you 70+ removable modules — authentication, billing, teams, AI chat, admin panel, blog, help center, and more — so you can ship a SaaS product in days instead of months.

Every module is self-contained and independently removable. Run the interactive setup wizard (npx @codapult/cli setup) to strip out what you don't need, and you're left with a clean codebase tailored to your product.

See License and Permitted Use for project limits, client work, hosted SaaS, and what you may not resell.

Key Differentiators

Adapter Pattern

Auth, payments, storage, background jobs, and notification transports all use a unified adapter interface. Switch providers by changing a single environment variable — no code changes:

AdapterProvidersEnv Var
AuthBetter-Auth (default), Kinde, NoneAUTH_PROVIDER
PaymentsStripe (default), LemonSqueezyPAYMENT_PROVIDER
StorageLocal (default), S3, R2STORAGE_PROVIDER
Background JobsIn-memory (default), BullMQ (Redis)JOB_PROVIDER
NotificationsPoll (default), SSE, WebSocketNOTIFICATION_TRANSPORT
EmbeddingsOpenAI (default), OllamaEMBEDDING_PROVIDER
Vector StoreSQLite (default), In-memoryVECTOR_STORE_PROVIDER

Plugin System

A first-class plugin architecture lets you extend Codapult with nav items, settings panels, API routes, and event hooks. Four premium plugins are available separately:

  • AI Kit — AI gateway, prompt management, tool framework, guardrails
  • CRM — Companies, contacts, deal pipeline, AI lead scoring
  • Helpdesk — Support tickets, SLA tracking, AI auto-resolve via RAG
  • Email Marketing — Subscriber lists, segmentation, broadcast campaigns

Enterprise-Grade Features

  • Authentication — email/password, OAuth, magic links, TOTP 2FA, enterprise SAML SSO
  • Billing — tiered plans, add-ons, multi-line checkout, Stripe Connect marketplace
  • Infrastructure as Code — Terraform (HCL), Pulumi (TypeScript), and Helm chart included
  • API layers — tRPC v11 for type-safe procedures, optional GraphQL (graphql-yoga)
  • Interactive API docs — OpenAPI 3.1 spec with a built-in explorer
  • A/B testing — weighted variants with conversion tracking
  • Multi-region database — Turso read replicas with automatic routing
  • Performance monitoring — Core Web Vitals reporter with in-app dashboard

Tech Stack

LayerTechnology
FrameworkNext.js 16 (App Router, Server Components, Turbopack)
LanguageTypeScript (strict mode)
DatabaseTurso (LibSQL) + Drizzle ORM
StylingTailwind CSS v4 + shadcn/ui + Radix UI
ReactReact 19
Type-safe APItRPC v11 + TanStack React Query
AIVercel AI SDK + OpenAI / Anthropic
EmailResend + React Email
i18nnext-intl (URL path-prefix routing, 5 locales)
AnalyticsPostHog
Error MonitoringSentry (client, server, edge)
TestingVitest (unit) + Playwright (E2E)
AuthBetter-Auth (default) or Kinde
PaymentsStripe (default) or LemonSqueezy

Next Steps

  • Quick Start — install, configure, and run in under 5 minutes
  • Project Structure — understand the directory layout
  • Authentication — sign-in methods, 2FA, and SSO
  • Payments & Billing — configure subscription tiers
  • Customization — theming, branding, and white-label
Quick Start