This is a vite + convex project
Steps to run locally
- Clone the repo.
- Install deps
npm install. - Open two terminal window and run
npm run devfor running vite andnpx convex devfor running convex. - Running
npx convex devwill give you the steps to setup convex. - In convex you'd need to setup two env variables
VERCEL_OIDC_TOKENandVITE_CLERK_FRONTEND_API_URL. For the vercel token install the vercel cli and runvc env pull. For the clerk env variable checkout convex doc which has it nicely explained. - The convex clerk doc above will also give you the steps to get
VITE_CLERK_PUBLISHABLE_KEYto add to.env.local. - Now restart the dev servers and checkout the project on localhost:5173 or the port that vite assigned. It should work. If not DM me on X. I'll personally answer all your queries.