Udemy

NestJs - Build Modern APIs in NestJs with Unit Testing

Enroll Now
  • 1,068 Students
  • Updated 10/2024
4.5
(111 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
9 Hour(s) 17 Minute(s)
Language
English
Taught by
Ghulam Abbas
Rating
4.5
(111 Ratings)
2 views

Course Overview

NestJs - Build Modern APIs in NestJs with Unit Testing

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

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!!!


Course Content

  • 10 section(s)
  • 100 lecture(s)
  • Section 1 Introduction
  • Section 2 Setting up Environment
  • Section 3 Setup / Overview of Nest.js
  • Section 4 Let’s start Restaurant API with Nest
  • Section 5 Adding Search & Pagination to API
  • Section 6 Validation, Pipes & Error Handling
  • Section 7 Generating Restaurant Location
  • Section 8 Upload Restaurant Images to AWS S3
  • Section 9 Authentication with Passport JWT
  • Section 10 Protecting Routes with Guards & Custom Decorators

What You’ll 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

Reviews

  • M
    MIkhail Babozhko
    4.5

    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

  • G
    Gabriel Velloso de Albuquerque
    2.5

    Many errors that I have to solve outside taking a lot of course time. node-geocoder the way it was implemented does not work .... I had to implement it in another way

  • x
    xgeeks Portugal, Lda PT515559059
    4.5

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

  • I
    Ibrohim Yulchiev
    5.0

    Очень эффективный курс. Особенно автор молодец, максимально помогает если появится вопросы.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed