NestJS has built-in microservices support — it can run as a microservice that communicates over various transports (TCP, Redis, NATS, RabbitMQ, Kafka, gRPC) instead of HTTP, using a consistent, message-based programming model. The same NestJS structure (modules, services, DI) applies; only the transport and message patterns change.
Creating a microservice
app = .(, {
: .,
: { : , : },
});
app.();
