Skip to content

codegenixdev/auth-nextjs-tutorial

Repository files navigation

NextJS 15 Authentication Tutorial

Simple implementation of Auth.js with Prisma in Next.js 15

Requirements

  • Node.js 22+

Quick Start

  1. Clone the repository
# For tutorial
git clone -b starter https://github.com/codegenixdev/auth-nextjs-tutorial.git

# For complete code
git clone https://github.com/codegenixdev/auth-nextjs-tutorial.git
  1. Setup environment for complete code
cp .env.sample .env
# Update .env with your values
  1. Install & Run
npm install
npm run db:migrate
npm run dev

Branches

  • starter: Initial setup
  • master: Complete implementation

Tech Stack

  • Next.js 15
  • Node.js 22
  • TypeScript
  • Prisma
  • Auth.js

Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published