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 installEnvironment Variables
Copy the example environment file and fill in your values:
cp .env.example .env.localKey variables you need:
| Variable | Description |
|---|---|
DATABASE_URL | Neon PostgreSQL connection string |
BETTER_AUTH_SECRET | Secret for BetterAuth sessions |
STRIPE_SECRET_KEY | Stripe API secret key |
STRIPE_WEBHOOK_SECRET | Stripe webhook signing secret |
Database Setup
Generate and run migrations:
bun run db:generate
bun run db:migrate
bun run db:seedDevelopment
Start the development server:
bun run devThe app will be available at http://localhost:8801.