Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)**