Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Node.js: Microservices

Node.js: Microservices

3h 39mAdvanced2023-08-08

Authors

Daniel Khan

Daniel Khan

Technology Lead, Developer, Application Architect

Course details

In this fast-paced era of distributed systems, mastering microservices—not just deploying services, but truly understanding the patterns and principles that drive them— is essential for developers. And in organizations large and small, Node.js is often the platform of choice for building microservices architectures. In this course, Daniel Khan shows you how to use Node.js to create a microservice architecture from scratch and tackles the all-too-common challenge of transforming a monolithic app into a flexible, modular system composed of individual services. Throughout the course, Daniel explores crucial concepts like service discovery, resilience, and decoupling. Check out this course to gain practical knowledge of microservices that you can apply to your day-to-day work immediately.

Skills covered

Node.jsSoftware ArchitectureJavaScript FrameworksWeb DevelopmentOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Understanding how microservices are built and used
  • 02 - What you should know

1. Prepare Your Development Environment

  • 03 - Installing Git, Node.js, and Docker
  • 04 - Getting the exercise files from GitHub
  • 05 - Setting up Visual Studio Code, ESLint, and Prettier
  • 06 - Launching MongoDB, Redis, and Jaeger in Docker
  • 07 - Installing MongoDB Compass

2. Planning Your Microservice Migration

  • 08 - Setting up and exploring your sample application
  • 09 - Understanding the sample apps code
  • 10 - Getting insights with OpenTelemetry and Jaeger
  • 11 - Setting your mission

3. Your First Service - The Catalog Service

  • 12 - What's your goal for this chapter
  • 13 - Creating the service
  • 14 - Designing a REST API for the catalog service
  • 15 - Adding business logic and database access
  • 16 - Creating your first REST endpoint
  • 17 - Completing the API
  • 18 - Testing REST endpoints

4. Creating a Service Registry

  • 19 - What's your goal for this chapter
  • 20 - Setting up the registry
  • 21 - Registering services
  • 22 - Creating and testing the registration route
  • 23 - Unregistering services
  • 24 - Querying the registry
  • 25 - Removing expired services
  • 26 - Registering on service on start
  • 27 - Adding heartbeat and unregistering on shutdown

5. Using Services

  • 28 - What's your goal for this chapter
  • 29 - Creating the service client
  • 30 - Using the catalog service
  • 31 - Testing the catalog service
  • 32 - Sanitizing data
  • 33 - Creating the CartService
  • 34 - Service monitoring with OpenTelemetry and Jaeger

6. Authenticating APIs

  • 35 - API authentication with JWT
  • 36 - Creating the user service
  • 37 - Add JWT tokens to the user service
  • 38 - Make the front end use JWT authentication
  • 39 - Using bearer headers
  • 40 - Protecting endpoints with JWT

7. Adding Fault Tolerance and Resilience

  • 41 - What's your goal for this chapter
  • 42 - Chaos testing
  • 43 - Adding caching to reduce load and bridge outages
  • 44 - Using queues for decoupling
  • 45 - Installing up RabbitMQ
  • 46 - Setting up the order service
  • 47 - Producing orders
  • 48 - Consuming orders

Conclusion

  • 49 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal