Rajesh2215/workflowhub ? reverse-engineered prompt

Reverse engineered prompt

Build me an event driven workflow management backend in NestJS that feels production ready and enterprise grade.

I want a monorepo with an API gateway that handles the public HTTP requests and talks to separate services for auth, tasks, notifications, and analytics. Use gRPC for the service to service calls, RabbitMQ for saga style coordination and rollback steps, and Kafka for task events that need to fan out to multiple consumers. Make user registration and task creation flow cleanly through the system, with reliable retries, idempotency, and safe event publishing so data does not get out of sync.

Please include MongoDB for each service, a shared auth layer, rate limiting, circuit breakers, and basic observability with logs, metrics, and tracing. I also want the usual local dev setup and deployment files so I can run the whole stack with Docker or Kubernetes. If you need current NestJS or tooling details, look up the latest docs online and wire it up in a clean way.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab