This starter template accelerates full-stack web app development, emphasizing an excellent Developer Experience (DX), especially for LLM-assisted coding. It integrates Convex, TanStack Router, Clerk, Vite, React, and Tailwind CSS to provide a robust foundation.
Follow these steps to get your development environment set up:
-
Install pnpm:
curl -fsSL https://get.pnpm.io/install.sh | sh -Restart your terminal after installation for
pnpmto be available. -
Install Node.js (if needed):
pnpm env use --global lts
-
Use this template:
Click "Use this template" on GitHub to create your own repository, then clone it.
-
Install Claude Code:
Claude Code is highly recommended for this template.
pnpm install -g @anthropic-ai/claude-code
Further Instructions: Claude Code Documentation
-
Initialize the project:
pnpm run init
This will:
- Install all dependencies
- Initialize Convex
-
Run the app:
pnpm dev
-
Clerk Configuration:
The app comes preconfigured with a demo Clerk instance for development.
For using your own Clerk account:
- Follow steps 1 to 3 in the Clerk onboarding guide
- Paste the Issuer URL as
CLERK_JWT_ISSUER_DOMAINto your dev deployment environment variable settings on the Convex dashboard (see docs) - Paste your publishable key as
VITE_CLERK_PUBLISHABLE_KEY="<your publishable key>"to the.env.localfile in this directory.
This template includes a vercel.json file configured for Convex deployments. To deploy:
- Connect your repository to Vercel via their GitHub integration
- Set
CONVEX_DEPLOY_KEYin Vercel environment variables (generate in Convex dashboard) - Set
VITE_CLERK_PUBLISHABLE_KEYfor your production environment
For detailed instructions, see Convex Vercel Deployment Guide.
MIT