1.0.2 • Published 5 months ago

create-next-app-with-authjs v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

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! 🚀

next-auth-template

next-auth-template