This is a Convex project created with npm create convex
.
After the initial setup (<2 minutes) you'll have a working full-stack app using:
- Convex as your backend (database, server logic)
- React as your frontend (web page interactivity)
- Next.js for optimized web hosting and page routing
- Tailwind for building great looking accessible UI
- Clerk for authentication
If you just cloned this codebase and didn't use npm create convex
, run:
npm install
npm run dev
If you're reading this README on GitHub and want to use this template, run:
npm create convex@latest -- -t nextjs-clerk
Then:
- Open your app. There should be a "Claim your application" button from Clerk in the bottom right of your app.
- Follow the steps to claim your application and link it to this app.
- Follow step 3 in the Convex Clerk onboarding guide to create a Convex JWT template.
- Uncomment the Clerk provider in
convex/auth.config.ts
- Paste the Issuer URL as
CLERK_JWT_ISSUER_DOMAIN
to your dev deployment environment variable settings on the Convex dashboard (see docs)
If you want to sync Clerk user data via webhooks, check out this example repo.
To learn more about developing your project with Convex, check out:
- The Tour of Convex for a thorough introduction to Convex principles.
- The rest of Convex docs to learn about all Convex features.
- Stack for in-depth articles on advanced topics.
Join thousands of developers building full-stack apps with Convex:
- Join the Convex Discord community to get help in real-time.
- Follow Convex on GitHub, star and contribute to the open-source implementation of Convex.