Skip to main content
00:00/00:00
Lecture 12 of 249

Buit-in Module path

Download Course (Free)

Course Content

0 / 249 completed
Section 1: Introduction1 videos

Introduction

13m
Section 2: Web Development8 videos

HTTP Protocol

26m

HTTP Request

26m

What happen if we go to a website

13m

What is a port number

10m

Client-Server Model

8m

How to build a website

14m

HTTP Status Code

23m

How to run a website

8m
Section 3: Explore NodeJS16 videos

Global variables

12m

Module require keyword

18m

Buit-in Module path

36mNow Playing

Module export keyword

21m

Create a first web server

32m

Built-in Module file system

27m

Benefits of Asynchrony

27m

Response status & html

24m

Event Emitter

39m

Check url

15m

Response JSON

18m

Handle Not Found

17m

Seperate URL to get single item

24m

Send data to server

53m

Delete item

22m

Update item

44m
Section 4: Express.js Fundementals16 videos

Introduction to NPM

8m

What is express.js

32m

Response in express.js

15m

Create a web server with express

17m

Explore parts of URL

14m

What is a RESTRESTful API

15m

Explore http method in express.js

14m

Get one item

14m

Delete item

14m

Auto restart server

18m

Create item

24m

Middleware

27m

Model View Controller (MVC)

11m

Update item

25m

Refactor code to MVC

28m

Router in express

32m
Section 5: Express.js Basic Task Manager Project (Functional Approach & NoSQL)21 videos

Project Overview

9m

Setup MVC folder

9m

Create a new project

7m

Create MongoDB database

19m

Mongoose ODM

30m

Create a user collection

43m

Handle database error

15m

What is JWT

14m

Create a JWT

18m

Insert user document

37m

Check email unique

28m

Login user

25m

Create task collection

11m

Hash password

29m

Create a task

31m

Get single task

28m

Get all tasks

25m

Update task

28m

Task authentication

42m

Wrap-up section

6m

Delete task

32m
Section 6: TypeScript22 videos

Array

3m

Basic Type System

10m

Object

10m

Array Object

5m

Introduction to class

1m

Interface

9m

Function

18m

Class - object creation

14m

Class - constructor

12m

Class - method

9m

Class - override method

7m

Class - inheritance

20m

Class - access modifiers

18m

Abstract class - part 1

7m

Type alias

5m

Abstract class - part 2

26m

Union Type

7m

Intersection Type

11m

Tuple

7m

Interface Inherritance

10m

Enum type

8m

Type vs Interface

17m
Section 7: Setup ExpressJS & TypeScript Project (Class Approach & SQL)9 videos

Prepare project

10m

Setup folder structure like pro!

32m

Environment

8m

Setup Prisma ORM & MySQL

16m

Setup server

17m

Create User Model (Table)

16m

Setup route

28m

What is migration

17m

Create user controller

36m
Section 8: Express Error Handling8 videos

Format validation message

7m

Custom shema validation middleware

36m

Schema validation with Joi

34m

Handle 404 not found error

14m

Http status code constant

22m

Custom Error class

30m

Using custom error

42m

Handle async error

54m
Section 9: Module Authentication8 videos

What is JWT

13m

What is HTTP Stateless

21m

Signin user - part 1

33m

Signup user - part 2

36m

Signup user - part 1

59m

Verify user middleware

49m

Verify user middleware - part 2

36m

Signin user - part 2

1h 20m
Section 10: Module Category7 videos

Create category model

10m

Setup folder structure for this module

11m

Create category

49m

Get all & Get one category

39m

Update category

42m

Delete category

19m

Add type checking

5m
Section 11: Module Product18 videos

How to design a product table

7m

Setup folder structure

13m

Add product model

29m

Get all products

21m

Get single product

25m

Update product

42m

Delete product

18m

Interface & Schema

24m

Create product

56m

Pagination with prisma

1h 14m

Sort product (work well with pagination)

1h 30m

Who created the product

29m

Check permission middleware

1h 5m

Filtering

1h 30m

Upload image - part 2

24m

Get shop profile

41m

Prevent anyone can perform the action

1h 25m

Upload image - part 1

1h 30m
Section 12: Module Product Gallery6 videos

Create gallery model

17m

Setup folder structure

9m

Delete image

18m

On Delete Cascade

16m

Adding multiple images

1h 26m

Prevent anyone can perform the action

1h 10m
Section 13: Module Product Variant12 videos

What is a product variant

27m

Add variant to product

44m

Delete variant

22m

Create folder structure

16m

Remove variant item - part 1

27m

Prevent anyone can delete variant

26m

Add item to variant

51m

Get product with variant

23m

Permitted

33m

Remove variant item - part 3

58m

Prevent

17m

Remove variant item - part 2

57m
Section 14: Module Wishlist7 videos

Design a new table

10m

Create prisma model for wishlist

18m

Folder structure

17m

Add product to wishlist - part 2

35m

Add product to wishlist - part 1

28m

Get my wishlist

27m

Delete item wishlist

49m
Section 15: Module User11 videos

Delete user

24m

Create new user

58m

Update user

47m

Prevent inactive user

47m

Refactor use middleware in route

1h 17m

Some checks

28m

Fix any type

14m

Public static file

13m

Banned user

32m

Change password

59m

Upload avatar

1h 1m
Section 16: Module Address7 videos

Create an address model

16m

Folder structure

11m

Update address

30m

(Generic) Add a little bit checking for checkPermission

30m

Delete address

1h 8m

Add multiple address to user

38m

Fix any type

15m
Section 17: Module Cart12 videos

Create a cart model

30m

Add product to cart - part 1

38m

Add product to cart - part 2

40m

Add product to cart - part 3

1h 3m

Clear cart

47m

Remove item in cart

43m

Add product to cart - part 4

1h 30m

Get my cart

59m

Fix update total price

21m

Fix any type

14m

Subtract total price in cart when remove

47m

Fix total price (again)

15m
Section 18: Module Order10 videos

Fix address column

11m

Create an order model

37m

Create folder structure

12m

Create one more table (COUPON)

29m

Create order - part 2

42m

Coupon calculation

1h 5m

Update order status

50m

Flow of order process & create order

1h 30m

Get my orders

27m

Get all orders

18m
Section 19: Module Coupon5 videos

Folder structure

13m

Update coupon

9m

Create coupon

39m

Get coupon

34m

How to delete a coupon

41m
Section 20: Module Review8 videos

Create a review model

16m

Add review

56m

Authorize review

19m

Update review

26m

Delete review

20m

Prevent add multiple reviews

18m

Interface & Schema Validation

24m

Get average rating

38m
Section 21: Aggregate Function4 videos

Aggregate overview

15m

Get total users

28m

Total revenue of all products

13m

Total revenue of single product

44m
Section 22: Cache System21 videos

Why should we you redis

14m

How to install Redis

23m

Stop & re-run redis

7m

Refactor to class

20m

When to use Redis

7m

Setup redis in node

37m

Redis caching flow

20m

SET in redis

23m

Key constant

14m

Cache expires time

29m

Apply cache for categories

43m

Hash data structure in Redis

15m

Unique key

19m

Cache single category

1h 2m

Invalidate data

35m

Products expiration

4m

Refactor code

52m

Apply cache for products

1h 1m

Invalidate product

37m

Cache my products

37m

Cache single product

1h 30m
Section 23: Improve3 videos

Setup send email

26m

Filter image & limit size

1h 14m

Refactor send email to class

37m
Section 24: Authentication Advanced8 videos

Forget password - part 1

26m

Downside of current authentication approach

14m

Forget password - part 2

1h 14m

Reset password

48m

Send token via cookie

21m

Change behavior of auth middleware

21m

Cookie options

16m

Refactor send cookie

8m
Section 25: src1 videos

index

5m