{"repo":"BackendWorks/nestjs-microservices","free":true,"listed":false,"github":"https://github.com/BackendWorks/nestjs-microservices","clone":"git clone https://github.com/BackendWorks/nestjs-microservices.git","description":"🚀 Production-ready NestJS microservices monorepo — auth, post, async workers, shared Prisma DB packages, Kong API gateway, gRPC inter-service communication, and full CI/CD via GitHub Actions.","language":null,"stars":380,"topics":["docker","nestjs","typescript","api-gateway","microservices","grpc","kong"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"NestJS Microservices Production-ready NestJS microservices monorepo — JWT auth, post management, async workers, shared ORM-agnostic database packages, Kong API gateway, and gRPC inter-service communication. Architecture Repositories Repo Type HTTP gRPC DB Package ------------------------------------------------------------ ------- ------- -------- ----------------------- auth-service Service :9001 :50051 @backendworks/auth-db post-service Service :9002 :50052 @backendworks/post-db auth-worker Worker — :50053 @backendworks/auth-db post-worker Worker — :50054 @backendworks/post-db auth-db Package — — Prisma (User, Role) post-db Package — — Prisma (Post) Key Design Decisions - gRPC-based auth in post-service — post-service validates Bearer tokens by calling auth-service via gRPC ( ValidateToken ). No Passport. Authenticated user ( id , role ) is injected into request.user . - ORM-agnostic packages — auth-db and post-db expose repository interfaces ( IUserRepository , IPostRepository ). Apps never import PrismaClient directly. Swap the ORM by changing only the package internals. - Database migrations owned by packages — Never add a schema.prisma inside an app or worker. Run prisma migrate dev from packages/auth-db/ or packages/post-db/ . - Workers are async consumers — auth-worker handles email dispatch and cleanup jobs. post-worker handles search indexing and media processing. Both communicate via gRPC and Redis queues. Quick Start Docker (recommended) Services will be available","default_branch":null,"files":null,"tree":[],"storefront":"/r/BackendWorks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BackendWorks/nestjs-microservices/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."}