Skip to content

Latest commit

 

History

History

profile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Codapult

Next.js SaaS Boilerplate & Starter Kit for MVPs, team-based B2B products and AI-powered applications, with modular architecture, auth, payments, teams, admin, AI, and infrastructure already wired together.

Auth, billing, teams, admin panel, AI layer, SSO, and infrastructure work as one system out of the box. Start lean with only the modules your MVP needs, then scale without rebuilding the foundation.


What's included

Category Modules
Auth Email/password, OAuth, magic links, TOTP 2FA, SAML SSO, SCIM
Billing Stripe, LemonSqueezy, Polar — switchable via env var
Teams Organizations, RBAC, invitations, seat billing, audit log
Admin User management, feature flags, webhooks, A/B testing, metrics
AI Streaming chat, RAG pipeline, embeddings, quotas, OpenAI + Anthropic
Infrastructure Docker, Terraform, Pulumi, Helm chart, GitHub Actions CI/CD
API tRPC v11, REST, optional GraphQL, type-safe end-to-end

70+ modules. Each independently removable via CLI. No dead code.


Architecture

Codapult is built around the adapter pattern — auth, payments, storage, jobs, embeddings, and notifications each sit behind a unified interface. Swap providers by changing one environment variable. No rewrites.

AUTH_PROVIDER=kinde             # better-auth | kinde
PAYMENT_PROVIDER=lemonsqueezy   # stripe | lemonsqueezy | polar
STORAGE_PROVIDER=r2             # local | s3 | r2
JOB_PROVIDER=bullmq             # memory | bullmq

Stack

Next.js TypeScript Tailwind CSS Turso Drizzle tRPC Stripe Vercel


Quick start

npx @codapult/create my-app

The interactive wizard configures auth, payments, and storage in under 5 minutes.


Website · Live Demo · Docs · Blog · Compare · Pricing