Codapult
TarifsPluginsDocs
Codapult

Le boilerplate SaaS pour les créateurs

Produit

  • Tarifs
  • Plugins
  • Documentation

Entreprise

  • Contact
  • GitHub

Mentions légales

  • Politique de confidentialité
  • Conditions d'utilisation

© 2026 Codapult. Tous droits réservés.

Tous les articles

Getting Started

  • Introduction
  • Quick Start
  • Project Structure

Configuration

  • Environment Variables
  • App Configuration

Authentication

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

Database

  • Database
  • Migrations

Teams

  • Teams & Organizations
  • Permissions & RBAC

Payments

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

Api

  • API Layer
  • tRPC
  • GraphQL

Ai

  • AI Features

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • File Storage
  • Background Jobs

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Security

  • Security

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture

Plugins

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

Deployment

  • Deployment
  • Troubleshooting

Upgrading

  • Upgrading Codapult

Developer Tools

  • MCP Server
  • Testing
Getting Started

Quick Start

Install, configure, and run Codapult in under 5 minutes.

Prerequisites

  • Node.js 20 or later
  • pnpm — install via corepack enable && corepack prepare pnpm@latest --activate
  • A Turso account — sign up for free and create a database

Installation

npx create-codapult my-app
cd my-app
pnpm install

This scaffolds a fresh Codapult project with all modules included.

Configuration

Copy the example environment file and fill in the required values:

cp .env.example .env.local

At minimum, set these three variables (required by the default adapters):

VariableValue
TURSO_DATABASE_URLYour Turso database URL (e.g. libsql://my-db-org.turso.io) or file:local.db for a local file
BETTER_AUTH_SECRETGenerate with openssl rand -base64 32 (must be ≥32 characters)
STRIPE_SECRET_KEYStripe secret key from the Stripe dashboard (use test key for development)

TURSO_AUTH_TOKEN is also required when using Turso cloud (not needed for file:local.db). All other variables are optional and documented in .env.example.

Tip: To skip auth and payments setup, set AUTH_PROVIDER=none — only TURSO_DATABASE_URL is required. This runs Codapult in showcase/marketing mode.

Database Setup

Push the schema to your Turso database — this creates all tables in one step:

pnpm db:push

Optionally seed sample data (users, organizations, plans) for local testing:

pnpm db:seed

Start the Dev Server

pnpm dev

Open http://localhost:3000. You should see the Codapult landing page. Click Sign Up to create your first account.

Interactive Setup Wizard

Run the setup wizard to choose which modules to keep. It removes unused code, routes, and database tables cleanly:

npx @codapult/cli setup

The wizard walks you through each optional module (AI chat, blog, teams, notifications, etc.) and strips out anything you don't need.

Useful Commands

CommandDescription
pnpm devStart dev server (Turbopack)
pnpm buildProduction build
pnpm lintRun ESLint
pnpm formatFormat with Prettier
pnpm testRun Vitest unit tests
pnpm test:e2eRun Playwright E2E tests
pnpm db:generateGenerate Drizzle migration
pnpm db:pushPush schema to database
pnpm db:seedSeed sample data
npx @codapult/cli setupInteractive module setup wizard

Next Steps

  • Project Structure — understand the directory layout and config files
  • Authentication — configure sign-in methods, 2FA, and SSO
  • Payments & Billing — set up subscription tiers and billing
  • Customization — theming, branding, and white-label options
IntroductionProject Structure