Mastering NestJS - 2024

Master NestJS and build Apps using REST API, MySQL, TypeORM, MongoDB, Mongoose, JWT, BcryptJS and more.

187 Learners

(106 ratings)

Created by

Init Tech Labs

This course includes:

on-demand video
Access on mobile and TV
Full lifetime access
Certificate of completion

0

0.00

What you'll learn

Learn fundamentals of NestJS / Server side programming step-by-step with controller and decorator basics

Validating data with the understanding of Built in Pipes and Custom pipe implementation.

Detailed understanding of NestJS middleware and dealing with the Route concept.

Dive deeper with NestJS guards with fundamentals, API key authorization, practical assignment, role based guards and global guards.

Make use of interceptors that intercept incoming and outgoing requests in your application to modify request and response data.

CRUD operation with MySQL using TypeORM

CRUD operation with MongoDB using Mongoose

Practical concise MyStore app with MySQL (RDBMS) with the implementation of CRUD Operation

Data validation and UI/UX implementation

Cookies and JWT authentication with password hashing

Conversion of MyStore app from RDBMS (MySQL) to NoSQL (MongoDB) and much more….

Course Content

12 sections

127 lectures

8 hr 44 min

Introduction to NEST JS

02:25

Setting up the project

02:22

Understanding Project Structure

06:10

Understanding Controllers

05:10

Controller Fundamentals(@Get Handler)

04:21

Controller Fundamentals(Headers)

03:35

Controller Fundamentals (@Post Handler)

08:57

Controller Fundamentals (@Post Handler) - Pt 2 with Modules

06:56

Controller Fundamentals (Fetching Params)

06:44

Controller Fundamentals (@Put Handler)

10:18

Controller Fundamentals (@Patch Handler)

04:08

Controller Fundamentals (@Delete Handler)

03:24

Request Object

04:42

Response Object

02:06

Fetching Queries

03:24

@HttpCode Vs. @Res Decorator

03:22

HTTP Response Status

02:53

Introduction To Pipes

01:59

Built-in Pipes(ParseIntPipe)

02:40

Built-in Pipes(ParseFloatPipe)

01:07

Built-in Pipes(ParseBooleanPipe)

02:25

Built-in Pipes(ParseArrayPipe)

02:59

Built-in Pipes (ParseUUIDPipe)

04:12

Built-in Pipes (ValidationPipe)

05:52

Validating empty fields

03:34

Validating Field Length

03:04

Custom Validation Messages

03:02

Validating Field Using @IsEnum() Validator

04:07

Validating Dates In NestJS

02:31

Validating Optional Fields

02:33

Validating Regex Pattern

03:11

Creating A Custom Pipe

06:39

Understanding ArgumentMetadata (metadata.type)

03:40

Assignment - Custom Pipe (Handling different “type” arguments)

03:56

Understanding ArgumentMetadata (metadata.metatype)

05:00

Understanding ArgumentMetadata (metadata.data)

03:37

Implementing Global Pipes

02:30

Introduction to Nest Middlewares

03:46

Implementing Middleware

03:45

Registering a Middleware

05:20

Route-Specific Middleware

05:48

Assignment - Checking Content-type With Middleware

04:00

Handling Route Wildcards

03:19

Middleware For Specific Route Handlers

04:38

Excluding Routes

03:49

Controller-Driven Route Middleware

02:15

Understanding Functional Middleware

04:26

Applying Multiple Middlewares

06:51

Applying Global Middlewares

03:52

Assignment - Password Encryption Middleware

10:19

Introduction To Guards

04:14

Understanding Guard

05:33

Understanding ExecutionContext

06:50

Accessing Arguments With getArgs()

03:42

Limiting Controller Access With Guard

04:06

Understanding switchToHttp() method

04:59

Assignment - API Key Authorization

06:10

Applying Multiple Guards

03:14

Defining Custom Metadata

05:06

Setting Custom Metadata - A Better Way

03:25

Applying Role For Specific Handlers

10:03

Applying Multiple Roles

01:35

Applying Global Guards

04:46

Introduction To Interceptors

03:00

Understanding Interceptor

05:54

Assignment - Transforming Response Data

04:42

Assignment - Modifying Request Headers

03:49

Assignment - Hiding Sensitive Information

05:50

Exception Mapping

03:23

Data Validation With Interceptor

05:37

Authentication and Authorization

04:24

Applying Global Interceptors

02:39

Connecting To MySQL Database Using TypeORM

00:00

Creating Entity With TypeORM

07:02

Inserting Product Data(CRUD)

08:09

Fetching the Product Data(CRUD)

03:57

Updating Product Record(CRUD)

06:22

Deleting Product Record(CRUD)

03:26

Introduction to MyStore Application

02:43

Rendering Template On Server

04:41

Creating Navbar With “includes”

03:31

Creating Home Interface

09:06

Conditional Rendering - No Product Found

02:26

Configuring Add Product Route

02:29

Creating “Add Product” Interface

05:51

Configuring Edit Product Route

01:49

Interface & Functionality - Edit Product

04:10

Fetching The Products

03:11

Adding Product To Database - Part 1

02:52

Adding Product To Database - Part 2

07:53

Updating The Product

07:13

Deleting The Product

01:57

Section Introduction

02:33

Setting Up The Sign-up Route

02:24

Designing the Sign-Up Form

02:53

Implementing Show/Hide Password Functionality

04:40

Validating Password

02:32

Registering User To The Database

06:50

Configuring Login Page

02:12

Validating User & Sending Cookie

04:41

Reading A Cookie

02:13

Rendering DOM Based On Login Status

03:48

Implementing Logout

01:20

Configuring Express-Session

02:54

Sending And Reading Session Cookie

03:40

Storing Sessions In MySQL

03:44

Destroying The Session - Logout

01:42

Optimizing Session Storage

04:15

Implementing JWT Token

06:51

Validating Request With Middleware

05:00

Conditional Rendering With Token

06:14

Hashing The Password On SignUp

03:51

Validating Login Credentials

02:15

Finalizing MyStore Application

04:20

Connecting To MongoDB Database

03:32

Creating A Schema

03:26

Registering The Schema

02:07

Create & Save Product To MongoDB

05:24

Fetching Documents From MongoDB

03:58

Updating A Document In MongoDB

03:29

Deleting A Document From MongoDB

01:51

Connecting MyStore With MongoDB Database

02:27

Creating User Schema

02:03

Injecting The User Schema

01:50

Creating Product Schema

01:46

Injecting The Product Schema

03:19

Creating MongoDB Session Store

04:52

Requirements

Typescript and NodeJs basics will be a great help Time, attention and dedication to learn & practice

5.0

Course Rating

106 Reviews

Hemang Pavar
Hemang Pavar

February 5, 2025

"I love this course"