This template provides a minimal setup to get Convex working with Next.js. It has authentication built-in.
Start by editing convex/myFunctions.ts and interact with your Next.js app.
See Convex docs at https://docs.convex.dev/home
There are 4 variations of this template, each on a different branch.
- Client blocked - this means the client waits for the server before
subscribing to queries that need
ctx.auth. Branch: client-blocked- With GitHub OAuth. Branch: client-blocked-oauth-github
- Routed - this means the client subscribes to queries immediately, based on
the page route. Branch:
routed
- With GitHub OAuth. Branch: routed-oauth-github