Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Node.js: Microservices

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Gain a deeper understanding of how microservices are built and used. Learn how to use Node.js to build out a microservices architecture from scratch while splitting up a monolith.

Syllabus

Introduction
  • Understanding how microservices are built and used
  • What you should know
1. Prepare Your Development Environment
  • Installing Git, Node.js, and Docker
  • Getting the exercise files from GitHub
  • Setting up Visual Studio Code, ESLint, and Prettier
  • Launching MongoDB, Redis, and Jaeger in Docker
  • Installing MongoDB Compass
2. Planning Your Microservice Migration
  • Setting up and exploring your sample application
  • Understanding the sample apps code
  • Getting insights with OpenTelemetry and Jaeger
  • Setting your mission
3. Your First Service: The Catalog Service
  • What's your goal for this chapter?
  • Creating the service
  • Designing a REST API for the catalog service
  • Adding business logic and database access
  • Creating your first REST endpoint
  • Completing the API
  • Testing REST endpoints
4. Creating a Service Registry
  • What's your goal for this chapter?
  • Setting up the registry
  • Registering services
  • Creating and testing the registration route
  • Unregistering services
  • Querying the registry
  • Removing expired services
  • Registering on service on start
  • Adding heartbeat and unregistering on shutdown
5. Using Services
  • What's your goal for this chapter?
  • Creating the service client
  • Using the catalog service
  • Testing the catalog service
  • Sanitizing data
  • Creating the CartService
  • Service monitoring with OpenTelemetry and Jaeger
6. Authenticating APIs
  • API authentication with JWT
  • Creating the user service
  • Add JWT tokens to the user service
  • Make the front end use JWT authentication
  • Using bearer headers
  • Protecting endpoints with JWT
7. Adding Fault Tolerance and Resilience
  • What's your goal for this chapter?
  • Chaos testing
  • Adding caching to reduce load and bridge outages
  • Using queues for decoupling
  • Installing up RabbitMQ
  • Setting up the order service
  • Producing orders
  • Consuming orders
Conclusion
  • Next steps

Taught by

Daniel Khan

Reviews

4.7 rating at LinkedIn Learning based on 57 ratings

Start your review of Node.js: Microservices

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.