oNo500/nestjs-boilerplate
NestJS, React 19, Drizzle ORM, Turborepo. Claude Code-ready out of the box.
A production-ready full-stack NestJS + Next.js boilerplate.
A complete monorepo with the cross-cutting concerns a real SaaS needs, plus a typed contract from PostgreSQL all the way to React. Start with plain CRUD; graduate a context to full DDD only when it earns it.
/docs..claude/rules/ load automatically into Claude Code, Cursor, and similar tools. The same files work as onboarding docs for human contributors.[!NOTE] Looking for the Ant Design Pro integration? It has been archived due to maintenance cost. See the
archive/admin-antdbranch for the last working snapshot.
api (apps/api, :3000) — NestJS backend, DDD, Drizzle ORM, PassportNo download data available
No tracked packages depend on this.
admin-shadcnapps/admin-shadcn@workspace/database (packages/database) — Schema definitions & migrations, Drizzle ORM@workspace/api-types (packages/api-types) — Shared OpenAPI type definitions, openapi-typescript@workspace/ui (packages/ui) — Shared UI component library, @base-ui/react@workspace/icons (packages/icons) — Shared icon set[!NOTE]
pnpm installautomatically copies.env.example→.envfor all packages via thepreparescript. Runpnpm setup:envto force-reset them.
[!IMPORTANT] PostgreSQL and Redis must be running before starting the API. Use the provided Docker Compose file.
pnpm install
docker compose -f docker/docker-compose.yml up -d # PostgreSQL + Redis
pnpm dev
turbo build / test / lint / typecheck
turbo format # auto-fix formatting (oxfmt)
turbo format:check # CI formatting check