Node.js: Microservices
Offered By: LinkedIn Learning
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
- 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
- Setting up and exploring your sample application
- Understanding the sample apps code
- Getting insights with OpenTelemetry and Jaeger
- Setting your mission
- 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
- 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
- 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
- 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
- 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
- Next steps
Taught by
Daniel Khan
Related Courses
MongoDB for DBAsMongoDB University MongoDB Advanced Deployment and Operations
MongoDB University Building Cloud Apps with Microsoft Azure - Part 3
Microsoft via edX Implementing Microsoft Windows Server Disks and Volumes
Microsoft via edX Cloud Computing and Distributed Systems
Indian Institute of Technology Patna via Swayam