topboilerplates.com

nestjs-boilerplate (oNo500)

A NestJS + Next.js monorepo starter with enterprise-grade auth and audit logging

nestjs-boilerplate (oNo500)Check nestjs-boilerplate (oNo500)
nestjs-boilerplate (oNo500)
Best for
Teams that want a NestJS backend with Next.js frontend and enterprise-grade concerns (audit logging, idempotency, RBAC) handled up front.
Skip if
You want a simpler starter without the enterprise-grade infrastructure - the audit logging and optimistic locking add real complexity.

A free, open-source Turborepo monorepo pairing a NestJS 11 backend with a Next.js 16 + React 19 frontend, using Postgres, Redis, and Drizzle ORM. It ships JWT and OAuth (Google/GitHub) authentication with RBAC, end-to-end type safety from database to frontend, idempotency keys, optimistic locking via ETag, domain-event-driven audit logging, OpenAPI docs, and structured logging with PII redaction.

Pros

  • Enterprise-grade concerns rarely found in starters: idempotency keys, optimistic locking, domain-event audit logging
  • End-to-end type safety from Postgres through the Next.js frontend
  • Structured logging with PII redaction built in
  • MIT licensed, free, and ships AI-assistant rules for Claude

Cons

  • Smaller community (87 stars) - relatively new and less battle-tested
  • Monorepo with Turborepo adds setup overhead versus a single-app starter
  • No payments/billing integration included - backend/auth focused, not a full SaaS product template

Features

Auth and access

  • Auth included
  • Social login
  • RBAC / roles

AI-friendliness

  • CLAUDE.md
  • Typed end-to-end
  • Documented conventions

What's in the box

  • API routes