Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xixixao/convex-auth
Demonstration of authentication purely via Convex
https://github.com/xixixao/convex-auth
Last synced: 2 months ago
JSON representation
Demonstration of authentication purely via Convex
- Host: GitHub
- URL: https://github.com/xixixao/convex-auth
- Owner: xixixao
- Created: 2024-02-19T03:27:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T15:19:19.000Z (7 months ago)
- Last Synced: 2024-06-20T02:41:10.057Z (7 months ago)
- Language: TypeScript
- Size: 274 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convex + Auth + Next.js + Tailwind + shadcn/ui
This template provides a minimal setup to get Convex working with
[Next.js](https://nextjs.org/). 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
## Variations
There are 4 variations of this template, each on a different branch.
1. Client blocked - this means the client waits for the server before
subscribing to queries that need `ctx.auth`. Branch:
**[client-blocked](https://github.com/xixixao/convex-auth/tree/client-blocked)**
- With GitHub OAuth. Branch:
**[client-blocked-oauth-github](https://github.com/xixixao/convex-auth/tree/client-blocked-oauth-github)**
2. Routed - this means the client subscribes to queries immediately, based on
the page route. Branch:
**[routed](https://github.com/xixixao/convex-auth/tree/routed)**
- With GitHub OAuth. Branch:
**[routed-oauth-github](https://github.com/xixixao/convex-auth/tree/routed-oauth-github)**