A modern, full-stack starter kit for building production-ready Next.js 16 applications with:
- 🧩 Auth.js (NextAuth v5) for authentication
- 🪄 Prisma ORM for database access
- 💅 shadcn/ui for beautiful, accessible components
- ⚡ App Router & TypeScript support
| Layer | Tool |
|---|---|
| Framework | Next.js 16 |
| UI Components | shadcn/ui |
| Authentication | Auth.js (NextAuth v5) |
| Database ORM | Prisma |
| Adapter | @auth/prisma-adapter |
| Language | TypeScript |
| Styling | Tailwind CSS |
git clone https://github.com/masum184e/nextjs-starter-template-typescript-prisma-next-auth.git
cd nextjs-starter-template-typescript-prisma-next-authSince Next.js 16 isn’t yet listed in Auth.js peer deps, use:
npm install --legacy-peer-depsdocker run -d --name postgres-db -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=mydb -p 5432:5432 postgres:16Create a .env file in your project root:
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/mydb?schema=public
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
NEXTAUTH_SECRET=your_random_secret
NEXTAUTH_URL=http://localhost:3000