Full-Stack Boilerplate

Turbo Express Start

A production-ready full-stack monorepo with auth, organizations, admin panel, transactional emails, integration tests, and observability.

Tech Stack

Everything configured and ready for production.

Turborepo

Monorepo with shared packages, ESLint plugin, TypeScript configs, and Jest presets.

React 19 + TanStack

File-based routing, SSR, query prefetching with queryOptions pattern.

Express + Zod

Type-safe API with contracts shared between frontend and backend.

PostgreSQL + Kysely

Type-safe SQL, automatic migrations, auto-generated types.

Better Auth

Email/password, organizations, roles, invitations, cookie sessions.

Resend Emails

Password reset, email verification, org invitations with HTML templates.

Integration Tests

BDD framework with user pooling, domain users, and auto-cleanup.

Shadcn/ui + Tailwind 4

Full component library, collapsible sidebar, dark/light theme.

Built-in Features

Ready to use out of the box.

Multi-Organization

  • Create and switch orgs
  • Member roles (owner, admin, member)
  • Email invitations with Resend
  • Org settings with inline editing

Admin Backoffice

  • Dual sidebar (user + admin)
  • Role-based route protection
  • User management with role editing
  • Separate admin layout

User Management

  • Full CRUD operations
  • Role assignment (user, admin, super_admin)
  • Search and pagination
  • Integration tested

Account & Auth

  • Profile editing
  • Password change
  • Forgot / reset password flow
  • Email verification on signup

Developer Experience

  • 15 custom ESLint rules
  • Type-safe API contracts
  • Query key factories
  • Route loader prefetching

Observability

  • Prometheus metrics
  • Grafana dashboards
  • Loki log aggregation
  • Structured Pino logging

Up and running in 2 minutes

terminal
pnpm install
cp .env.example .env
docker-compose up -d
pnpm db:migrate
pnpm dev

Ready to go

Clone, configure, and start building.