Skip to content

tanstack-convex-starter

TypeScript

Full-stack starter with TanStack Start + Convex.

Full-stack starter with TanStack Start, Convex, and Better Auth. Includes email/password + username auth, user profiles with avatar uploads, row-level security, role-based access control, rate limiting, audit logging, and SSR.

tanstack convex better-auth starter

[features]

Authentication

Email/password + username via Better Auth

Row-Level Security

RLS with convex-helpers custom functions

Rate Limiting

Token bucket and fixed window rate limiting

Profiles

User profiles with avatar uploads to Convex storage

[install]

git clone https://github.com/ramonclaudio/tanstack-convex-starter.git
cd tanstack-convex-starter
bun install
bun run setup        # connects Convex, generates .env.local, sets secrets
bun run dev          # starts dev server on http://localhost:3000

[usage]

bun run dev            # Start development
bun run setup:local    # Use local Convex backend (Docker)
bun run build          # Build for production

[requirements]

[license]

This project is licensed under the MIT license.

[links]