NestJS Microservices: Breaking a Monolith to Microservices

Break a NestJS Monolith into Microservices with Apache Kafka and Event-Driven Architecture

3.80 (48 reviews)
Udemy
platform
English
language
Web Development
category
instructor
581
students
8 hours
content
Nov 2021
last update
$84.99
regular price

What you will learn

Event Driven Architecture with Apache Kafka

Multiple Database Connections

Internal Http Requests

Run Docker with multiple networks

Import Data from multiple databases

Use Kubernetes

Deploy to Google Cloud Platform

Description

Welcome to NestJS and Kafka: Breaking a Monolith to Microservices Course - the course that will take your Javascript development skills to the next level.

How this course works

This course will start with a pre-built monolith, the building of the starting app won't be covered in this course. So in this course, you will start immediately with Microservices Architecture, this course is intended for people that have a solid understanding of Javascript and want to learn in a short amount of time more advanced concepts. I am very clear and precise in my way of teaching so this course won't have unnecessary explanations on my part, I will explain what is needed when it is needed.

If you are interested in learning how the Monolith is created you can check my other courses:

  • Angular Material, Universal & NestJS: A Rapid Guide

  • React, Next.js and NestJS: A Rapid Guide - Advanced

  • Vue 3, Nuxt.js and NestJS: A Rapid Guide - Advanced

In those courses, you will learn how to build a SPA with your favorite frontend framework.


What you will learn in this course

In this course, you will start with a pre-built monolith and you will learn:

  • What is the Microservices Architecture

  • How to Configure Kafka with NestJS

  • Internal Http Requests

  • How to make a Microservice only for Authentication Purposes

  • Run Docker with multiple networks

  • Produce Kafka Events to multiple topics

  • Create Custom Middlewares & Services

  • Import Data from multiple databases


About Me

I'm a FullStack Developer with 10+ years of experience. I'm obsessed with clean code and I try my best that my courses have the cleanest code possible.

My teaching style is very straightforward, I will not waste too much time explaining all the ways you can create something or other unnecessary information to increase the length of my lectures. If you want to learn things rapidly then this course is for you.

If you have any coding problems I will offer my support within 12 hours when you post the question. I'm very active when trying to help my students.

So what are you waiting for, give this course a try and you won't get disappointed.

Screenshots

NestJS Microservices: Breaking a Monolith to Microservices - Screenshot_01NestJS Microservices: Breaking a Monolith to Microservices - Screenshot_02NestJS Microservices: Breaking a Monolith to Microservices - Screenshot_03NestJS Microservices: Breaking a Monolith to Microservices - Screenshot_04

Content

Introduction

Introduction

The Monolith

Setup
Stripe Keys
Exploring the Code
Monolith vs Microservices

Email Microservice

Email Diagram
Setup
Kafka Setup
Confluent Cloud CLI
Consuming Kafka Messages
Producing Kafka Messages
Sending Emails

Users Microservice

Email Diagram
Setup
Importing Data
Http Requests
Login
Request with Headers
Storing Tokens
Logout
Completing authController
Refactoring userService
Ambassadors
Removing AuthModule
User Decorator
External Networks
Scopes

Admin Microservice

Admin Diagram
Setup
Moving userModule
Moving productModule
Moving orderModule
Moving linkModule
Configuring Kafka
Admin Consumer
Consumer Service
Dynamic Methods

Ambassador Microservice

Ambassador and Checkout Diagram
Setup
Moving userModule
Moving productModule
Moving Links and Orders
Seeding Orders
Configuring Kafka
Consuming Events
Handling Errors

Checkout Microservice

Setup
Importing Modules
Configuring Kafka

Kubernetes & Deployment

Kubernetes
Production Build
Pods
Environment Variables
Kompose
Secrets
Google Kubernetes Engine
Cloud Shell
Cloud SDK
Container Registry
Cloud SQL
Authorized Networks
Users Kubernetes Files
Users Deployment
Ingress
Private IP
Admin Setup
Admin Kubernetes Files
Admin Deployment
Ambassador Setup
Ambassador Kubernetes Files
Ambassador Deplyoment
Checkout Setup
Checkout Kubernetes Files
Checkout Deployment
Testing the Frontend

Reviews

Elves
March 15, 2022
The instructor course is a little outdated, encountering problems with different versions, teaches and understands the subject but should update
Bozhkov
February 11, 2022
A lot of mistakes, looks like it was recorded once without fixing any mistakes. Not a professional level

Charts

Price

NestJS Microservices: Breaking a Monolith to Microservices - Price chart

Rating

NestJS Microservices: Breaking a Monolith to Microservices - Ratings chart

Enrollment distribution

NestJS Microservices: Breaking a Monolith to Microservices - Distribution chart
4374256
udemy ID
10/30/2021
course created date
11/16/2021
course indexed date
Bot
course submited by