Build And Serve Documentation

Next.js 15 starter kit. Enable features by setting env vars — no code changes needed.

Getting Started

Features

FeatureGuideWhat it does
AuthenticationGuideAuth.js v5, Better Auth, Clerk, Supabase, Stack. OAuth, magic links, credentials, guest.
PaymentsGuideLemon Squeezy, Stripe, Polar. Unified PaymentService across all providers.
CMSGuidePayload CMS v3. Collections, media, admin panel.
Visual BuilderGuideBuilder.io drag-and-drop page editing.
DatabaseGuidePostgreSQL + Drizzle ORM. Migrations, seeding, studio.
EmailGuideResend. Transactional email + magic link auth.
AIGuideBrowser-based SmolLM (WebGPU) + OpenAI/Anthropic cloud.
AnalyticsGuidePostHog, Umami, Google Analytics, Statsig, DataFast.
StorageGuideAWS S3, Vercel Blob.
WaitlistGuidePre-launch signup collection.

Integrations

Auth Providers

Auth.js · Better Auth · Clerk · Supabase · Stack

Payment Providers

Lemon Squeezy · Stripe · Polar

Analytics

PostHog · Umami · Google Analytics · Google Tag Manager · Statsig · DataFast

Infrastructure

Resend · AWS S3 · Vercel Blob · Upstash Redis

Content

Payload CMS · Builder.io

Development

Guides

Reference

Stack

  • Framework: Next.js 15 (App Router)
  • Language: TypeScript
  • Package Manager: Bun (also supports npm, yarn)
  • Database: PostgreSQL + Drizzle ORM
  • UI: Tailwind CSS + Shadcn/UI
  • CMS: Payload CMS v3
  • Visual Builder: Builder.io
  • Email: Resend