Skip to content
Docs

Convex

Durable data backend and generated function workflow.

1

Run pnpm varel setup convex --apply --local-backend for the local agent Convex path, then pnpm varel smoke convex.

2

Set NEXT_PUBLIC_CONVEX_URL in app env and CLERK_JWT_ISSUER_DOMAIN from Clerk's frontend API URL.

3

Set CONVEX_SERVER_SECRET in both app env and Convex env so server repository calls can authenticate.

4

Route handlers and UI should continue using src/server/data repository interfaces.