From the course: Node.js: Microservices

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Setting up the order service

Setting up the order service - Node.js Tutorial

From the course: Node.js: Microservices

Setting up the order service

- [Instructor] Before we can get started using queue in the service, we first have to also create our order service. This is the last service that is still in the monolith and for that, again, you might not even try it out on your own. I head into workspace, microservices and I open the resources file and I will drag the order-service into microservices. Then I open a new console again. I cd into the order-service. I run npm install, followed by npm run dev. Now we have a running order-service and again, we have to also add the service client to our shopper main application. So I head into shopper, server, services and I remove the last regular service file. And drag the new ServiceClient into this directory. Let's head back to shopper because errors are waiting for us. Refactoring ongoing. I go to server/routes/admin/orders/index.js But just following this link and here already see the error. Maybe I have to mention…

Contents