By: Achour Meguenni -

Next.js + Better Auth + Prisma Starter Kit

Next.js + Better Auth + Prisma Starter Kit

Building a modern web application from scratch can be time-consuming. To speed up development and provide a strong foundation, I created the Next.js + Better Auth + Prisma Starter Kit. It includes authentication, a database setup, and a pre-built dashboard—all with an elegant UI.

Features

  • Next.js 15 with App Router for modern React development
  • Better Auth for seamless authentication
  • Prisma ORM for database management
  • shadcn/ui for pre-styled UI components
  • User authentication system (signup, login, logout)
  • Dashboard for authenticated users
  • TypeScript support for better development experience

Tech Stack

  • Next.js 15 - Modern React framework
  • Better Auth - Authentication system
  • Prisma - Database ORM
  • shadcn/ui - UI components
  • TypeScript - Ensures type safety

How to Use

  1. Clone the repository:
    git clone https://github.com/Achour/nextjs-better-auth.git
    cd nextjs-better-auth
  2. Install dependencies:
    npm install
  3. Set up environment variables:
    cp .env.example .env
  4. Run database migrations:
    npx prisma migrate dev
  5. Start the development server:
    npm run dev

Live Demo

🔗 Check out the live demo

This starter kit is designed to be flexible and customizable, making it perfect for developers looking to build secure and scalable applications with Next.js.


💡 Feel free to fork the project, contribute, or give feedback! Check out the repository on GitHub: GitHub Repo 🚀

Achour Meguenni

Passionate tech enthusiast and a self-taught web developer.

2025 Achour, All rights reserved.

  • Contact
  • Achourphp@gmail.com

Achour Meguenni

Passionate tech enthusiast and a self-taught web developer.

2025 Achour, All rights reserved.

  • Contact
  • Achourphp@gmail.com