YoVDO

Node.js: Microservices

Offered By: LinkedIn Learning

Tags

Node.Js Courses Microservices Courses Resilience Courses Queues Courses Fault Tolerance Courses Load Balancing Courses

Course Description

Overview

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

Related Courses

Introduction to Cloud Infrastructure Technologies
Linux Foundation via edX
Scalable Microservices with Kubernetes
Google via Udacity
Introduction to Kubernetes
Linux Foundation via edX
Architecting Distributed Cloud Applications
Microsoft via edX
IBM Cloud: Deploying Microservices with Kubernetes
IBM via Coursera