Next.js 16 · better-auth · Prisma · Neon

Auth that just
works.

Production-ready authentication starter with email & password, OAuth, magic links, and role-based access — all wired up and ready to ship.

🔐

Email & Password

Secure sign-up and sign-in with email verification and password reset flow.

✨

Magic Links

Passwordless auth via one-click email links. No password, no friction.

🌐

OAuth Providers

Google and GitHub OAuth out of the box. Add more providers in minutes.

🛡️

Role-Based Access

USER and ADMIN roles baked in. Protect routes and UI with a single check.

🗄️

Neon + Prisma

Serverless PostgreSQL on Neon with Prisma ORM. Type-safe queries, zero ops.

🚀

Production Ready

Session management, cookie caching, trusted origins, and CSRF protection included.

Built with

Next.js 16

Framework

better-auth

Authentication

Prisma 7

ORM

Neon

Database

Zod

Validation

React Hook Form

Forms

Resend

Emails

Tailwind CSS

Styling

Ready to build?

Everything you need to ship auth in minutes.

Get started for free