Docs

Getting Started

Set up the Next.js 16 Starter Kit locally in a few minutes.

Getting Started

Follow these steps to get the project running locally.

Prerequisites

Installation

Clone the repository and install dependencies:

git clone <your-repo-url>
cd nextjs16-starter-kit
bun install

Environment Variables

Copy the example environment file and fill in your values:

cp .env.example .env.local

Key variables you need:

VariableDescription
DATABASE_URLNeon PostgreSQL connection string
BETTER_AUTH_SECRETSecret for BetterAuth sessions
STRIPE_SECRET_KEYStripe API secret key
STRIPE_WEBHOOK_SECRETStripe webhook signing secret

Database Setup

Generate and run migrations:

bun run db:generate
bun run db:migrate
bun run db:seed

Development

Start the development server:

bun run dev

The app will be available at http://localhost:8801.

On this page