← Back to archive

Repo of the Day

get-convex/convex-saas

Published: Mar 14, 2025

Open repository ↗

A production-ready Convex Stack for your next SaaS application with Convex Auth, Stripe, TanStack, Resend, Tailwindcss, and shadcn.

Summary

Convex SaaS is an MIT-licensed TypeScript starter template for building SaaS products on the Convex backend-as-a-service platform. It packages authentication, Stripe billing, file storage, email, and a React UI with shadcn components so engineers can skip the typical wiring. The project is described in the README as a direct Convex port of Daniel Kanem's Remix SaaS template.

What it is useful for

  • Bootstrapping a Convex-backed SaaS app where the backend exposes reactive, type-safe functions with built-in authentication and file storage
  • Skipping Stripe plumbing: subscription plans and a customer portal are already wired in
  • Supporting both email code sign-in and social logins through the included authentication layer
  • Sending transactional email through Resend with React Email templates
  • Building a React UI with TanStack Router, Tailwind CSS, shadcn components, and light/dark theming
  • Handling form validation with Conform, profile picture uploads, and i18n out of the box
  • Starting from prebuilt landing, onboarding, dashboard, and admin pages

How engineers can use it

The README does not list clone or install commands; it points to a Getting Started guide inside the repository's docs directory, so the exact setup steps live there rather than in the README itself. Treat that documentation as the source of truth for prerequisites and configuration. A live demo is hosted at convex-saas.netlify.app if you want to see the included pages in action before pulling the code.

After following the docs, the typical flow is to point the app at a Convex deployment, supply environment variables for the bundled services (Stripe, Resend, OAuth providers, and Convex cloud), and then customize the included pages and Convex functions. The first real product work usually involves defining your data model in Convex, adjusting subscription plans in Stripe, and replacing the landing and onboarding copy. Vite is included for local development tooling, and TanStack development tools are listed as a feature.

A few caveats based on what the source documents: the template depends on several account-based services, so each one needs its own credentials before the app is fully functional. As a starter kit, it favors conventions from the included tools (Convex, TanStack Router, Conform), so swapping any of those for alternatives will likely require rework rather than a config change. The README also notes the project shares code with Indie Stack, Epic Stack, and Supa Stripe Stack, useful context for engineers coming from Remix.