NextAuth Starter Template

A fully-featured authentication starter template with SignIn, SignUp, Forgot Password, Email Verification, Role-Based Access, and Social Login using Google and GitHub.

Screenshots

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7

Project Overview

NextAuth Starter Template is a complete authentication system built with Next.js and Auth.js v5. It supports email/password authentication, social login (Google & GitHub), email verification, password reset, and role-based authentication. The project includes a settings page for enabling two-factor authentication, updating email and passwords, and managing user sessions with client-side hooks and server-side functions. Email notifications are powered by Resend API, and the database is managed using Neon PostgreSQL with Prisma ORM.

Technologies

Next.jsAuth.js v5PrismaNeon PostgreSQLShadCN UIResend API
© 2025 Dinesh Jayasiri.