https://github.com/udecode/better-convex
Production-grade Convex template for Next.js apps.
https://github.com/udecode/better-convex
Last synced: 4 months ago
JSON representation
Production-grade Convex template for Next.js apps.
- Host: GitHub
- URL: https://github.com/udecode/better-convex
- Owner: udecode
- License: mit
- Created: 2025-07-27T13:07:28.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-05T20:03:43.000Z (11 months ago)
- Last Synced: 2025-08-05T22:06:20.967Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 563 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Better Convex
Type-safe Convex framework with a tRPC-style server API, Drizzle-style ORM, and TanStack Query client integration.
## Docs
[better-convex.com](https://better-convex.com)
## What You Get
- cRPC procedure builder (`better-convex/server`)
- Drizzle-style ORM for Convex (`better-convex/orm`)
- React + TanStack Query integration with real-time updates (`better-convex/react`)
- Next.js server helpers for RSC/auth (`better-convex/auth/nextjs`, `better-convex/rsc`)
- Better Auth adapter utilities (`better-convex/auth`, `better-convex/auth/client`, `better-convex/auth/config`, `better-convex/auth/http`)
- CLI metadata/codegen/runtime analysis helpers (`better-convex` bin)
## Quick Start
```bash
bun add convex better-convex zod @tanstack/react-query
```
Then follow:
- [Quickstart](https://better-convex.com/docs/quickstart)
- [Templates](https://better-convex.com/docs/templates)
## Local Dev
```bash
bun install
bun typecheck
bun run test
bun run lint
```
## Example App
The canonical reference app lives in:
- [example](./example)
It demonstrates current best-practice usage across auth, cRPC, ORM, HTTP routes, and TanStack Query.