From the course: Node.js: Microservices
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Creating the service - Node.js Tutorial
From the course: Node.js: Microservices
Creating the service
- [Instructor] As promised, we will now create our first service or at least what will become our service soon. As you can see, we are now back in Visual Studio code, so open it if you haven't already. To get started, we'll use the service template that you find in the resources directory. So, I'm opening the resources directory and there you find this _service_template. I select it and select copy and we'll copy it into our workspace and there into the already prepared microservices folder. So I'm pasting it in here and the first thing I will do is I will rename it to "catalog-service". Next, I will open my integrated terminal with view terminal and you see that we land in the root directory and then show you a little trick now. If you do a CD and then just drag the folder into your terminal, it will copy the whole path into it and then you can just change into this path. As all note applications, the catalog service…
Contents
-
-
-
-
-
What's your goal for this chapter?2m 19s
-
(Locked)
Creating the service6m 35s
-
(Locked)
Designing a REST API for the catalog service3m 57s
-
(Locked)
Adding business logic and database access5m 15s
-
(Locked)
Creating your first REST endpoint4m 3s
-
(Locked)
Completing the API6m 11s
-
(Locked)
Testing REST endpoints5m 36s
-
-
-
-
-
-