{"repo":"jordanliu/convex-starter","free":true,"listed":false,"github":"https://github.com/jordanliu/convex-starter","clone":"git clone https://github.com/jordanliu/convex-starter.git","description":"Monorepo starter template with convex, nextjs, better-auth, shadcn/ui, react-email and turborepo","language":"TypeScript","stars":19,"topics":["better-auth","convex","nextjs","react-email","shadcn-ui"],"license":null,"category":"ui-components","readme_excerpt":"convex-starter A highly opinionated Next.js starter with better-auth, convex, shadcn/ui, react-email, and turborepo. Pre-configured for rapid, scalable development. Project Structure Features - Authentication with Better Auth - Backend platform (db, functions, storage, jobs) using Convex - UI components built with shadcn/ui and Tailwind CSS - Email support with react-email and Resend - Form handling via react-hook-form - Monorepo setup using Turborepo Getting Started 1. Create a New Project 2. Install Dependencies 3. Configure Client Copy the example environment file into .env.local in apps/web, then update it with your real values. 4. Configure Convex This initializes your Convex project. Next, ensure your backend environment variables are uploaded to the Convex dashboard. From root run: You will then need to upload the environment variables into your Convex dashboard manually or via convex env . You can find more details here. The auth integration expects SITE URL in the Convex deployment and the following public variables in apps/web/.env.local : Keep the existing BETTER AUTH SECRET unchanged when upgrading an existing deployment so current sessions remain valid. 5. Migrate Existing Auth Users Skip this step for a new deployment with no users. For an existing deployment, deploy the additive schema and auth changes first, then backfill the Better Auth ID into the application users table: Verify that every application user has an authId . Only then clear the legacy applicati","default_branch":null,"files":null,"tree":[],"storefront":"/r/jordanliu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jordanliu/convex-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}