Skip to content

get-convex/ents-saas-starter

Repository files navigation

SaaS Starter: Convex + TypeScript + Next.js + Clerk + Tailwind + shadcn/ui

Build your SaaS website in no time! Included:

  • Realtime database for implementing your product with Convex
    • Team/organization management
    • Configurable roles and permissions
  • Member invite emails using Resend
  • User sign-in and sign-up with Clerk
  • Website router with Next.js
  • Slick UX with shadcn/ui

Check out Convex docs, and Convex Ents docs

Screenshots

Personal Account and Teams

Members management

Invites management

Invite accept flow

Setting up

npm create convex@latest -- -t xixixao/saas-starter

Then:

  1. Run npm run dev
  2. Follow step 3 from the Clerk Next.js quickstart, setting up both NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY in your .env.local file
  3. Run npx convex run init:init to initialize the permissions and roles in the database

If you want to sync Clerk user data via webhooks, check out this example repo.