Vercel Monorepo

Boilerplate to be deployed to Vercel. Simpler to start-up for most SaaS applications.

Project structure

Click through the file tree to see the full product structure.

.czrc
.eslintrc.js
.node-version
.npmrc
docker-compose.yml
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
README.md
renovate.json
tsconfig.json
turbo.json

Tech Stack

SEO

  • Includes all important SEO tags
  • Generate OG images via @vercel/og
  • Typesafe JSON-LD rich snippet component
  • Automatic sitemap generation

Database

  • Powered-by NeonDB (PostgreSQL) and Drizzle ORM
  • Commands to generate and apply migrations to local, staging or production databases
  • Docker to set-up Postgres locally
  • Guides on setting up NeonDB, local Postgres and migrations

Styling

  • Powered-by TailwindCSS and shadcn/ui
  • Swappable themes via shadcn themes
  • Automatic light/dark mode
  • Includes many custom components to support current features

Auth

  • Powered-by Better Auth
  • GitHub OAuth included (for web)

Payment

  • Powered-by Stripe
  • Flat-rate subscriptions
  • Download past invoices
  • Webhooks to handle stripe real-time events
  • Guides on setting up Stripe and reducing fraud
  • Guides on setting up Cloudflare Tunnel for webhook testing

Email

  • Powered-by Resend and React Email
  • Includes welcome email for newly created accounts
  • Includes team invitation email, with limited ttl invite codes
  • Guides on setting up Resend and avoiding the spam folder
  • Guides on setting up Cloudflare Email Routing to send & receive emails from custom domains via Gmail

AI

Real-time collaboration

  • Powered-by pluv.io
  • Room authorization, real-time data and presence

Analytics

Teams management

  • Teams, members and team invitations included
  • Create projects under personal accounts or teams
  • Invite members by email with short TTL invite codes

Blog

  • Powered-by Notion X
  • Write blog content with Notion and Notion AI
  • Auto-generate SEO titles and descriptions with Notion AI

Docs

  • Powered-by Fumadocs
  • Write product documentation in MDX
  • Auto-generate OG images
  • AI friendly with llms.txt generation and AI-powered search

Deployment

  • Powered-by Vercel
  • Guides on setting up your Cloudflare DNS
  • Guides on deployment and connecting multiple Next.js zones

Misc.

  • ChatGPT prompts for generating Terms of Service and Privacy Policies