Back

Next.js Starter Kits

Modern full stack starter built on the latest Next.js features with advanced authentication.

Getting started

Download the starter kit zip file, extract it, and open the project folder in your terminal. Then install the dependencies:

bun install

After the installation is complete, copy the example environment file:

cp .env.example .env

Better Auth

This project uses Better Auth, so you must set a BETTER_AUTH_SECRET. Follow the guide on the Better Auth docs to generate a secret, then add it to your .env file:

BETTER_AUTH_SECRET=your_generated_secret

Database setup

By default, this starter kit uses PostgreSQL. Set your DATABASE_URL in .env:

DATABASE_URL=postgresql://USER:PASSWORD@HOST:PORT/DATABASE

Replace USER, PASSWORD, HOST, PORT, and DATABASE with your PostgreSQL credentials.

Mail

The starter kit supports optional email verification. If you want users to verify their email, set NEXT_PUBLIC_EMAIL_VERIFICATION to true and configure Resend.

Create an API key on the Resend dashboard, then update your .env:

NEXT_PUBLIC_EMAIL_VERIFICATION=true
RESEND_REPLY_ADDRESS=
RESEND_API_KEY=

If you do not need email verification, set:

NEXT_PUBLIC_EMAIL_VERIFICATION=false

Running the application

To start the application in development mode, run:

bun dev

You can then access the app at http://localhost:3000 in your browser.

Admin account

This starter kit does not include a setup command like the Laravel version. To create an admin, manually update a user record in the database and set the role to admin using your preferred database tool.

After you change the role to admin, you will see the Users menu appear in the sidebar. From there, you can register a few new users and explore how the admin features work.

Launch faster with production ready blocks and templates. Copy, customize, and ship 429 pre-built UI blocks, 450 patterns, and 10 templates to streamline your workflow. Skip the busywork on pricing pages, dashboards, and more.

2025 · design.intentui.com ™