NestJS is an opinionated framework for developing server-side Node.js applications, including microservices. In this tutorial, we’ll show how to use some of their other helpful microservice libraries to develop and operate a TCP-based microservice. We’re going to modify the boilerplate application from an HTTP-based REST API to a more raw request format. Since our microservices respond to TCP requests instead of HTTP, we will need to change the annotations on our controller methods.

14m read timeFrom dzone.com
Post cover image
Table of contents
Creating a NestJS microserviceCreating a Client ServiceRunning Both Services TogetherDeploying to the Cloud

Sort: