JonLuca De Caro 5ff5ef65c3 boilerplate
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00
2026-03-03 18:43:35 -08:00

Web Boilerplate

Generic Next.js Pages Router boilerplate built from the shared stack used in resonate-gallery.

Stack

  • Next.js 16 Pages Router
  • React 19
  • Tailwind CSS 4
  • tRPC 11
  • Prisma 7 with PostgreSQL
  • Better Auth email/password authentication
  • Biome

Models

  • User
  • Session
  • Account
  • Verification
  • Post
  • Comment

Routes

  • Public: /, /posts, /posts/[postId], /sign-in, /sign-up
  • Protected: /dashboard, /account

Bootstrap

  1. Install dependencies.
pnpm install
  1. Copy the example environment file and set a real PostgreSQL connection string plus Better Auth secret.
cp .env.example .env
  1. Apply the committed migration or generate a local dev database from scratch.
pnpm db:migrate

Or for local development:

pnpm db:generate
  1. Regenerate the Prisma client if needed.
pnpm exec prisma generate
  1. Run the app.
pnpm dev

Validation

pnpm typecheck
pnpm check
pnpm build
Description
No description provided
Readme 176 KiB
Languages
TypeScript 97.8%
JavaScript 1.2%
CSS 1%