Microservices in Nest.js – JavaScript Tutorial

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=t76UMpwFNs0



Duration: 0:00
28,361 views
926


Welcome to this course on building microservices with Nest.js! You’ll create a delivery service application that tracks rider activity by saving their coordinates every three hours. You’ll learn to build two microservices—a Login Service and a Rider Service—and enable communication between them. By the end, you’ll have the skills to design and deploy scalable microservices.

✏ ️ Course from ‪@haidermalik3402‬

Codehttps://github.com/HaiderMalik12/nestjs-microservice-beta..

Learn more about microservices in Nest.jshttps://www.haidermalik.dev/nestjs-microservices-early-access..

❤ ️ Try interactive JavaScript courses we love, right in your browshttps://scrimba.com/freeCodeCamp-JavaScripta... (Made possible by a grant from our friends at Scrimba)

⭐ ️ Contents ⭐ ️
0:00:00 Intro
0:00:32 Sample-Application
0:02:20 Setup Nest.js Microservices Project
0:11:22 Install MongoDB Update
0:14:18 Why Docker
0:18:34 Run MongoDB in Docker Container
0:24:34 Run MongoDB using Docker Compose
0:29:05 Install Nestjs Mongoose Package
0:34:35 MongoDB Port Forwarding
0:39:20 Setup Module
0:49:41 Define Schema
0:56:16 Validating Request Body
1:07:31 Save Coordinates
1:18:31 Get Data from DB
1:24:22 TCP Based Microservices Communication
1:26:10 Mock Rider By ID method
1:29:04 Define Event to communicate between microservices
1:36:59 Define ID Param
1:42:23 Testing-and-Fixing Bug

🎉 Thanks to our Champion and Sponsor supporters:
👾 Drake Milly
👾 Ulises Moralez
👾 Goddard Tan
👾 David MG
👾 Matthew Springman
👾 Claudio
👾 Oscar R.
👾 jedi-or-sith
👾 Nattira Maneerat
👾 Justin Hual

--

Learn to code for free and get a develophttps://www.freecodecamp.org/camp.org

Read hundreds of articles on progrhttps://freecodecamp.org/newsorg/news




Other Videos By freeCodeCamp.org


2025-04-16Data Engineering with Python and AI/LLMs – Data Loading Tutorial
2025-04-15From Accountant to Data Engineer with Alyson La [Podcast #168]
2025-04-10Train Your Own LLM – Tutorial
2025-04-09Lynx Tutorial – JS Framework for Cross Platform Development
2025-04-08C++ Setup and Installation Tools – CMake, vcpkg, Docker & Copilot
2025-04-04From drop-out to software architect with Jason Lengstorf [Podcast #167]
2025-04-02Full Stack Instagram Clone with Laravel and MongoDB – Tutorial
2025-04-01Code DeepSeek V3 From Scratch in Python - Full Course
2025-03-28From broke musician to working dev. How college drop-out Ryan Furrer learned to code [Podcast #166]
2025-03-27Excel Formulas & Functions You Should Know [Full Course]
2025-03-25Microservices in Nest.js – JavaScript Tutorial
2025-03-21From hating coding to programming satellites at age 37 – Francesco Ciulla interview [Podcast #165]
2025-03-19Learn ANY Language with AI (Learn English, Learn Spanish, Learn Mandarin Chinese, and more)
2025-03-18Build a Full Stack AI Note Taking App with Next.js and Supabase – Tutorial
2025-03-14How to become a self-taught developer while supporting a family [Podcast #164]
2025-03-13AWS Cognito Course – Authentication and Authorization
2025-03-12JavaScript Essentials Course
2025-03-11DeepSeek R1 Theory Tutorial – Architecture, GRPO, KL Divergence
2025-03-07Learn fewer skills but go deeper - the Caleb Curry interview [Podcast #163]
2025-03-06Learn PyTorch in 5 Projects – Tutorial
2025-03-05Intro to Machine Learning featuring Generative AI