From the course: Node.js: Microservices
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Using the catalog service - Node.js Tutorial
From the course: Node.js: Microservices
Using the catalog service
- [Instructor] So we just created this service client and I just saw that we called it registry client here. Let's fix that here. But it does not really matter, as long as you export the right thing. But for consistency reason, let's do that. Now we want to utilize the service client and for that I opened the catalog service because we know that the boundaries between our business logic pieces are very well defined in our shopper application. So the catalog service contains everything that deals with the catalog. The first thing I'm going to do is I will rename the catalog service now, to emphasize a little bit that it now has a different purpose and I will call it catalog client. And I will also rename it here. So I click here on rename symbol and we'll rename it to catalog client. For completeness let's also change this comment up here and now when we start the shopper application npm run dev, we'll likely get an…
Contents
-
-
-
-
-
-
-
(Locked)
What's your goal for this chapter?29s
-
(Locked)
Creating the service client9m 35s
-
(Locked)
Using the catalog service8m 11s
-
(Locked)
Testing the catalog service3m 1s
-
(Locked)
Sanitizing data5m 36s
-
(Locked)
Creating the CartService4m 56s
-
(Locked)
Service monitoring with OpenTelemetry and Jaeger3m 29s
-
(Locked)
-
-
-