Skip to content

Repository files navigation

next-stack

Full-stack Next.js starter template with auth, database, and Vercel deployment.

Stack

Next.js 16 (App Router) | Bun | TypeScript | Tailwind CSS v4 | Better Auth | Drizzle ORM | PostgreSQL (Neon) | Vercel

Getting Started

# Copy env file and set your secrets
cp src/.env.example src/.env.local

# Start Postgres and push schema
make setup

# Start dev server
make dev

Commands

Command Description
make setup Start DB, push schema
make dev Start dev server
make build Build the application
make db-push Push schema changes
make db-studio Open Drizzle Studio
make check Type check
make lint Lint
make clean Remove node_modules and .next

Environment Variables

See src/.env.example for required variables. Vercel auto-sets VERCEL, VERCEL_URL, and VERCEL_BRANCH_URL for deployment.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages