Simple implementation of Auth.js with Prisma in Next.js 15
- Node.js 22+
- 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
- Setup environment for complete code
cp .env.sample .env
# Update .env with your values
- Install & Run
npm install
npm run db:migrate
npm run dev
starter
: Initial setupmaster
: Complete implementation
- Next.js 15
- Node.js 22
- TypeScript
- Prisma
- Auth.js
Happy coding! 🚀