DEV Community

Saad Ali
Saad Ali

Posted on

nestjs microservice using gprc rabbitMQ redis docker docker-compose enterprise level repo startar pack

Today i 12 hours to have about nestjs-microservices how to setup and perform operation how to make a connection between different services using TCP or gRPC ,RabbitMQ, Kafka ,Redis in different independent microservices.
how we use packages inside a monorepo for configuration for the different services instead of write separate configuration for each service
you can checkup my github if want to understad and clone microservices for your project instead of writing from scratch everytime use my repo: https://github.com/Saad-04/nestjs-microservice-RabbitMQ-kafka-redis-grpc

these are these architecture of full project

Uploading image

I cover these topics today
setting up packages based nx monorepo on pnpm workspace
building TCP based services (one gateway and two TCP based services )
building gRPC based services (one gateway and two gRPC based services )
building kafka/rabbit MQ based services (one gateway and two event driven services )

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →