{"repo":"chuanghiduoc/nestjs-fastify-nx","free":true,"listed":false,"github":"https://github.com/chuanghiduoc/nestjs-fastify-nx","clone":"git clone https://github.com/chuanghiduoc/nestjs-fastify-nx.git","description":"Production-grade NestJS 11 + Fastify 5 + Nx 23 monorepo boilerplate. DDD/CQRS, Better Auth cookie sessions, GraphQL (Mercurius), Socket.io, BullMQ, Prisma 7, OpenTelemetry, Sentry. Four runnable apps (api/worker/scheduler/migration) with hardened Docker images, SBOM + SLSA provenance, and Cosign keyless signing.","language":"TypeScript","stars":10,"topics":["better-auth","boilerplate","bullmq","cqrs","ddd","docker","event-driven","fastify","graphql","mercurius"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"nestjs-fastify-nx Production-grade NestJS 11 + Fastify 5 + Nx 23 monorepo boilerplate. DDD · CQRS · Better Auth · GraphQL · Socket.io · BullMQ · OpenTelemetry · Sentry — wired and tested. Quick Start · Why this boilerplate? · Architecture · Documentation · Fork guide · Contributing --- Table of Contents - Why this boilerplate? - Highlights - Stack - Architecture - Quick Start - Common Commands - Project Layout - Security - Observability - Testing - Release & Deployment - Documentation - Contributing - Acknowledgements - License Why this boilerplate? Most NestJS starters stop at \"hello world + auth\". This one ships the parts you actually rewrite on every project: - Real DDD layout with module-boundary lint rules ( @nx/enforce-module-boundaries ) so cross-context imports fail in CI, not in code review. - Cookie-session auth (Better Auth) reused on REST, GraphQL and Socket.io — no JWT, no refresh-token plumbing. - Stripe-style + RFC 9457 contract — 2xx returns the resource directly, errors are application/problem+json with stable code s and a flat errors[] for both validation and business-rule failures, every response carries an X-Request-Id for log/trace correlation. - Three API surfaces on one Fastify instance — REST/OpenAPI, GraphQL (Mercurius), and WebSockets — with Redis pub/sub for horizontal scale. - Background processing wired correctly: BullMQ + Bull Board UI behind admin auth, transactional outbox so domain events survive crashes. - Day-2 observability out of the box: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/chuanghiduoc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chuanghiduoc/nestjs-fastify-nx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}