Skip to content
UdemyNode.jsPaid courseAll LevelsCertificate

NestJs - Build Modern APIs in NestJs with Unit Testing (Udemy.com)

Build Modern API with Nest Js with MongoDB & Postgres, including Authentication, Typescript, TypeORM, Unit & e2e testing

Created by: Ghulam Abbas

Last updated January 2026

icon
What you will learn

  • Develop and full featured API with NestJs
  • Best practices of Authentication & Authorization
  • Data Validation & Error Handling using Pipes
  • How to implement pagination & search
  • How to generate coordinates of address with GeoCoder
  • Uploading images on AWS S3 Bucket
  • How to use Passport for authentication
  • How to Protect Routes from unauthorized user
  • How to build a custom decorator
  • How to build a custom guard
  • Using TypeORM for database interaction
  • Persisting data with databases like MongoDB & Postgres
  • Understand Database relationships
  • Writing Unit Tests for complete API
  • Writing e2e Tests
  • How to deploy API on Heroku

How it compares

Against the other 118 rated Udemy courses in Node.js on CourseDuck:

  • Rating4.5 out of 5higher than 61% of them
  • Reviews111#82 of 119 by number of reviews
  • Length9.3 hourslonger than 54% of them
  • Last updatedJanuary 2026more recently than 77% of them

icon
Course Description

If you want to build a powerful API in the modern backend framework Nest Js or if you want to learn how to unit test API then welcome to this Ultimate NestJs course.


Nest Js is a Node.js framework for building efficient, reliable, and scalable Node.js server-side applications. NestJs is a complete framework that will help us to perform everything whether it is authentication or testing a complete API, NestJs provides us with everything that we want. The architecture of NestJs is unmatchable.


Throughout this course, we will use TypeScript which will level up our development. Typescript will help us to write neat and clean code. We will be able to find our errors and bug right on the spot.


NestJs provides us with a lot of flexibility by providing a lot of modules, when it comes to testing, NestJs provides us with Testing Module that makes Unit testing fun. Connecting to a database whether it is Relational (SQL, POSTGRES, etc) or NoSQL (MongoDB) is just fun and can be done in one line of code.


Really NestJs has made life a lot easier when it comes to building backend applications. The API built with this amazing framework is highly testable, scalable, loosely coupled, and easily maintainable applications.


===   Super Fiendly Support   ===

If you ever get stuck in any problem, I'm here to unstuck you. I always respond as fast as I can. Because I know there’s nothing worse than getting stuck into problems, especially programming problems. So, I am always here to support you.


Below are some points that we will cover in this course:


  • We will discuss what is NestJs and its CLI

  • Build a complete restaurant API

  • Use MongoDB to store our data

  • Add Pagination and Search in our API

  • Best practices for Error handling & Validations with PIPES

  • Generate the coordinates of the restaurant address

  • Uploading multiple images of the restaurant to AWS S3 Bucket

  • Add Jwt Authentication with Passport

  • Authorization of Roles with Guards

  • Build a CRUD Library API with Postgres & TypeORM

  • Unit Testing of complete API

  • e2e Testing to API

  • Deploying API on Heroku



Interested in learning this amazing NestJs framework for building your next backend API? Then Enroll now and I will see you in the course. Happy Coding!!!


icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Ghulam Abbas

Hello, I’m Ghulam Abbas — a Full-Stack Software Engineer and passionate educator dedicated to helping developers build real-world skills.


Over the years, I’ve created multiple in-depth programming courses focused on modern web development, full-stack architecture, and production-ready applications. My teaching style focuses on practical learning, where students don’t just watch tutorials — they build complete projects and understand how real systems work.


Today, my courses have helped 82,000+ students across 192+ countries gain valuable development skills and move forward in their careers. From beginners taking their first steps in programming to developers looking to master JavaScript, Node.js, React, and full-stack development, my goal is to make complex topics clear, practical, and industry-relevant.


I believe the best way to learn programming is by building real projects, understanding concepts deeply, and applying them in the real world.

If you're ready to level up your development skills and build powerful applications, you’re in the right place.


Let’s build something amazing together.

icon
More courses by Ghulam Abbas

$74.99

$59.99

$69.99

$49.99

$59.99

$69.99

icon
More Node.js courses

$119.99

$159.99

$19.99

$89.99

$94.99

$14.99

icon
Reviews

4.5

111 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By MIkhail Babozhko on 1/16/2025

It is a good course about nest js But it leak some important info about building serers - it is microservices and docker containers and deploy

By xgeeks Portugal, Lda PT515559059 on 2/17/2023

It's one of the most complete courses related to testing, that I've seen. Congrats

By Arun Kamboj on 10/7/2022

Course does not have source code, Instructor provide the in-complete repo on github https://github.com/ghulamabbas2/restaurants_api

By Luiz Gustavo Palmieri on 9/12/2022

One of the best course I've seen. The teacher follows an amazing flow and explanations covering real world use cases. Great course for those who are starting with backend. Thank you, Ghulam!

By Juan Sebastian Gomez on 8/18/2022

Until the moment we have just look at the projects and the structure of the course and some of the references we should look.

By Ikenna Gabriel Ifenna on 5/10/2022

The videos are short and are broken down to easy to understand modules. Thank you very much for doing this both for MongoDB and Postgres using TypeORM. I am almost done with the MongoDB section. The course is awesome.

By Usmanbutt on 2/15/2022

An excellent course; I highly recommend it. This course has taught me a lot of techniques for testing. love this course....

By Abdul Majid on 2/12/2022

Best course of nest js. Tutor explain each and every concept in good manner. Good course for learner who want to learn nest js

By Zunair on 2/5/2022

I respect your dedication to teaching the naive graduates who have no one to look up to. Awesome content and awesome energy. A sweet and simple example to start with this concept. Thank you so much, sir!

By Haider Ali on 2/1/2022

Exactly what I was looking for. Again a good experience with this instructor. Unit testing part was really valuable.

Showing all 10 reviews on CourseDuck

Read all 111 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100