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
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
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!!!
Instructor Details
- 4.5 Rating
111 Reviews
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.
More courses by Ghulam Abbas
Node.js - The Complete RESTful API Masterclass [2026]
4.3 (1,293 Reviews)
Provider: Udemy
Time: 15.3h
$74.99
MERN Stack Full Ecommerce Site - Using React, Redux, Node.js (2026)
4.6 (660 Reviews)
Provider: Udemy
Time: 35.9h
$59.99
Node.js, Express, MongoDB Masterclass with real Projects (2026)
4.4 (429 Reviews)
Provider: Udemy
Time: 14.4h
$69.99
Java Programming Bootcamp - Build Real Projects with JavaFX (2023)
4.1 (400 Reviews)
Provider: Udemy
Time: 27.1h
$49.99
Next.js - Build Full Stack Apps with Next.js & TypeScript (2026)
4.4 (305 Reviews)
Provider: Udemy
Time: 31.3h
$59.99
Unit Testing in Node.js with Jest - e2e Testing & more (2026)
4.5 (67 Reviews)
Provider: Udemy
Time: 4.5h
$69.99
More Node.js courses
Learn and Understand NodeJS (V8, Express, MERN/PERN & more) (2025)
4.7 (31,374 Reviews)
Provider: Udemy
Time: 14.6h
$119.99
Node.js, Express, MongoDB & More: The Complete Bootcamp (2024)
4.7 (30,347 Reviews)
Provider: Udemy
Time: 42.2h
$159.99
NestJS: The Complete Developer's Guide (2026)
4.7 (9,487 Reviews)
Provider: Udemy
Time: 19.8h
$89.99
Complete NodeJS Developer (GraphQL, MongoDB, + more) (2026)
4.7 (5,544 Reviews)
Provider: Udemy
Time: 46.5h
$94.99
Node.js API Masterclass With Express & MongoDB (2019)
4.7 (5,415 Reviews)
Provider: Udemy
Time: 12.1h
$14.99
Reviews
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.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100
![Node.js - The Complete RESTful API Masterclass [2026]](/programming/node-js/images/2843012_313d_5.jpg?v=1789443837)











