From the course: Node.js: Microservices
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Understanding the sample apps code - Node.js Tutorial
From the course: Node.js: Microservices
Understanding the sample apps code
- [Instructor] In the previous video we looked at the shop application from a user perspective, and now let's dig into the code a little bit. So let's go simply through the file system. So first of all, I have this client directory, nothing much in there but a style sheet. Then we have the server directory, and there you find the bin, start.js script, which is used to start the Express server. And you should understand pretty much everything in there because it's really just about starting an Express application. I just point out the few things that might be different. The first thing starts with line 10 where we configure tracing, and then we'll talk about this later in more detail, but know that the shop application and all the other services that we will add come with tracing built in. And this is tracing using OpenTelemetry. And OpenTelemetry is a library for tracing that lets us later then use Jaeger to look at how…