🚀 A starter kit for building modern web applications with Next.js 16, Better Auth, Prisma, and shadcn/ui.
- ✅ Next.js 16 with App Router
- ✅ Better Auth for authentication
- ✅ Prisma for database management (Rust-Free Engine)
- ✅ shadcn/ui for UI components
- ✅ Dashboard for authenticated users
- ✅ TypeScript support
-
Clone the repository:
git clone https://github.com/Achour/nextjs-better-auth.git cd nextjs-better-auth -
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env
Fill in the necessary values in the
.envfile. -
Set up the database:
npx prisma migrate dev
-
Start the development server:
npm run dev
- Run
npm run devto start the development server. - Use
npx prisma studioto manage your database visually. - Customize authentication using Better Auth settings.
- Next.js 16 - React framework
- Better Auth - Authentication
- Prisma - Database ORM (Rust-Free Engine)
- shadcn/ui - UI components
- TypeScript - Type safety
Made with ❤️ by Achour Meguenni
