next-convex-betterauth-template
๐ฏ Production-ready authentication template with Next.js, Convex and Better Auth. Features complete auth system (signup, login, email verification, 2FA), protected routes, modern UI with dark mode and real-time database. Perfect for rapid prototyping and production apps. Zero configuration required - just clone and start building!
templateboilerplatenextjsauthconvexbetter-authreacttypescripttailwindcsstailwind
Overview
This is a production-ready full-stack authentication template built with Next.js 16, Convex and Better Auth. It provides multiple authentication methods including email/password, OAuth providers, magic links, one-time passwords and two-factor authentication, along with protected routes, real-time database functionality, TypeScript support and built-in documentation and API reference pages for developers.
Features
email-password-authenticationoauth-providersmagic-linksemail-otptwo-factor-authenticationanonymous-authenticationprotected-routesemail-verificationpassword-resetdark-modetype-safetyreal-time-databaseemail-templatesapi-documentationbuilt-in-documentation
Feature Flags
userDashboardauthenticationblogemailslandingpagepaymentsrealtimeauthorizationainotificationsapiDocsdarkModetypeScript
Recommended Use Cases
rapid-prototypingproduction-applicationssaas-platformsuser-authentication-systems
Frontend
nextjsreacttypescripttailwindcssradix-ui
Backend
convexbetter-auth
Auth Providers
email-passwordgooglegithubslackmagic-linkanonymous
Deployment Targets
vercelgcp
Payment Providers
None
Quick Facts
โญ Stars
6
๐ด Forks
1
๐งพ License
mit
๐ Active
Unknown
Stack
Framework
nextjs
Language
typescript
CSS
tailwindcss
Database
convex
Auth
better-auth, oauth, magic-links, totp, email-otp
Data Layer
Databases
convex
UI Stack
Styling
tailwindcss
Components
radix-ui
Developer Experience
Docker
No
Tests
No
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
โ
Notes
Open source template with MIT license