New to microservices architecture and hoping to get some guidance.
Main Question 🚀
I'm working on a NestJS microservices application structured as a monorepo (using Nx/Turborepo) and need advice on deployment strategies. Specifically:
How to containerize (Docker/Kubernetes) interdependent services?
Best practices for CI/CD pipelines in monorepos
Recommended hosting platforms (AWS ECS, Kubernetes, etc.)
Managing shared libraries/env variables in production
Any gotchas or lessons learned from your experience?
Side Question 📚
While I'm committed to the monorepo approach for now, what other well-documented microservice architectures are popular with NestJS? I'm aware of:
Polyrepo (separate repos per service)
Serverless frameworks
Event-driven architectures
Hybrid approaches
...but would love to hear what works best with NestJS's ecosystem and has good documentation.
I've checked the Nest Microservices docs but would appreciate real-world insights. Thank you in advance! 🙏