LaunchFst Documentation

Complete guide to the LaunchFst Next.js SaaS boilerplate. Ship your product in days, not months.

LaunchFst Documentation

Welcome to LaunchFst — a production-ready Next.js SaaS boilerplate with everything wired up so you can focus on building your product.

Quick Start

git clone https://github.com/your-org/launchfst.git my-app
cd my-app
pnpm install
cp .env.example .env.local
# Set DATABASE_URL in .env.local
pnpm db:push
pnpm dev

See Installation for the full setup guide with all environment variables.


What's Inside

FeatureDetails
AuthenticationNextAuth v5 JWT — credentials, Google, GitHub. Zero DB queries on navigation. bcryptjs, password reset, RBAC.
PaymentsLemonSqueezy, Polar, and Stripe. Switch providers with one env var. Webhook-synced subscriptions.
TeamsMulti-tenant organizations with OWNER/ADMIN/MEMBER roles, email invitations, ownership transfer.
DashboardAnalytics, billing, profile settings, notification center, org switcher, command palette.
Design System6 theme presets, 5 landing templates, 33+ block variants, 20+ Magic UI components. All config-driven.
Feature Add-ons13 optional features: AI Chat, Analytics, File Uploads, Error Monitoring, Rate Limiting, and more.
Docs & BlogFumadocs MDX — in-app documentation and blog with syntax highlighting, search, and dark mode.
EmailResend or Nodemailer. 6 React Email templates: welcome, password reset, invitations, receipts.
SuperAdminPlatform overview, user management, org management, contact submissions, newsletter, feedback.

Tech Stack

LayerTechnologyVersion
FrameworkNext.js App Router + Turbopack16.2.1
LanguageTypeScript (strict mode)5.x
StylingTailwind CSS v4 + shadcn/ui (New York)v4
AuthNextAuth v5 JWT (no PrismaAdapter)5.0.0-beta.30
DatabasePrisma + PostgreSQL7.x
Data FetchingTanStack Query v55.x
PaymentsLemonSqueezy + Polar + Stripe
EmailResend / Nodemailer + React Email
AnimationsFramer Motion + Magic UI12.x
ChartsRecharts3.x
ValidationZod4.x
IconsLucide React
DocsFumadocs MDX16.x
Package Managerpnpm

Feature Flags

Toggle features without changing code. Set any of these in .env.local:

FlagDefaultControls
NEXT_PUBLIC_ENABLE_BLOGtrue/blog page + nav link
NEXT_PUBLIC_ENABLE_DOCStrue/docs pages + nav link
NEXT_PUBLIC_ENABLE_CONTACTtrue/contact page
NEXT_PUBLIC_ENABLE_NEWSLETTERtrueNewsletter section on landing
NEXT_PUBLIC_ENABLE_ORGANIZATIONStrueOrg system in dashboard
NEXT_PUBLIC_ENABLE_WAITLISTtrueWaitlist section on landing
NEXT_PUBLIC_ENABLE_FEEDBACKtrueFloating feedback widget
NEXT_PUBLIC_ENABLE_CHANGELOGtrue/changelog page
NEXT_PUBLIC_ENABLE_SEARCHtrueCmd+K command palette
NEXT_PUBLIC_COMING_SOONfalseRedirect all routes to coming soon
NEXT_PUBLIC_DEMO_MODEfalseDemo data + restricted interactions

Database Models

12 Prisma models out of the box:

User · Account · Organization · OrganizationMember · OrgInvitation · UploadedFile · ContactSubmission · NewsletterSubscriber · WaitlistEntry · Feedback · Notification · UsageRecord


  • Installation — Setup, environment variables, scripts
  • Configuration — site.ts, features.ts, pricing.ts, navigation.ts
  • Authentication — Providers, JWT strategy, helpers, password reset
  • Payments — LemonSqueezy, Polar, Stripe setup guides
  • Dashboard — Pages, navigation, notifications, how to add pages
  • Organizations — Teams, invitations, roles, ownership
  • Roles — USER, ADMIN, SUPERADMIN — access levels and RBAC
  • SuperAdmin — Platform management panel
  • Email — Templates, providers, DNS setup
  • Data Fetching — Prisma (server) + TanStack Query (client)
  • Deployment — Vercel, Docker, Railway
  • Security — Hashing, JWT, webhook verification, rate limiting
  • Design System — Themes, templates, headers, Magic UI
  • Themes — 6 color presets with OKLCH CSS variables
  • Blocks — 33+ landing page block variants
  • Backgrounds — 6 hero background presets

Demo Mode — Explore freely. Some actions are restricted. demo@launchfst.dev / demo1234

Get LaunchFst →