Mô tả

Is Node.js the best choice for you?

Node.js is one of the most popular server-side programming languages, thanks to its large and active community, as well as its high performance and ability to handle large numbers of connections. It is used in a wide range of real-world applications and projects, including high-traffic web sites and automated programs and workflows.


Node.js developers are in high demand, and this is particularly true for those who have experience with the popular combination of Node.js and TypeScript. In this course, you will learn advanced Node.js with TypeScript, and will have the opportunity to build projects that will be highly valued by companies and professional developers.

Here's what you'll learn in this course:


  • Basic Node.js

  • Advanced Node.js

  • Express.js with TypeScript

  • Advanced Mongoose with TypeScript

  • Advanced Mongoose queries

  • GraphQL

  • SocketIO

  • CORS security protocol

  • TypeORM with Postgres database

  • How to manage files with Mongoose

  • The best way to serve files to the client

  • Validate user input

  • Advanced Error handling

  • Modern javascript syntax

  • Professional Node.js API project structure

  • Authentication and Authorization

  • Encryption

  • Automated testing (Unit tests)

  • Postman

  • Deployment

  • Git/Github

  • Nestjs

This course is perfect for you if you have no prior knowledge of Node.js, Express, and TypeScript, but it is also ideal for those who have some experience and want to take their skills to the next level. You'll develop, test, and deploy web applications with Node.js, Express.js, and TypeScript which will be able to cover the full stack. You'll learn the best practices and current trends in web development while developing your skills. By the end of the course, you'll be comfortable with the modern development technologies and will be able to work with professional projects.


We'll also be covering the new updates and features of the technologies, with frequent updates to the course and a 100% money-back guarantee, this is the best deal you will ever make.

Bạn sẽ học được gì

Master the entire modern back-end stack: Node, Express, Nestjs, Graphql, TypeOrm, Postgres, MongoDB and Mongoose with Typescript

Learn how to create npm packages with nodejs and typescript

Learn: SocketIO, Stripe, Graphql with apollo and express, Typeorm, github/actions, CI/CD

Learn how to build scalable APIs using Nestjs

Learn how you should structure your nodejs project in a professional way

How to use mongoose with Typescript

Error handling in node js with expresjs

Security: encryption, sanitization, cookie session, etc

Learn how to hide passwords and confidential data in the right way

Deep dive into mongoose (including advanced features)

Learn how to test a nodejs api with automated tests

Create a professional documentation for your api

Upload multiple images and manage them inside MongoDB database

Use Modern Javascript syntax

Yêu cầu

  • Basic understanding of JavaScript is required
  • Any computer and OS will work — Windows, macOS or Linux
  • Basic understanding of how APIs works ( no need for any knowledge related to expressjs or nodejs APIs)
  • You have at least used npm ones in your life

Nội dung khoá học

45 sections

Course Introduction

3 lectures
welcome! welcome! welcome!
00:16
you need to read this!
00:52
Installing VScode
01:18

Node.js | the basics

13 lectures
Installing Nodejs
03:40
Working with the file system
05:06
the global object
05:10
readline
02:49
path & util modules
03:17
Building our own Custom modules
15:57
export and import
04:22
listing directory files
01:06
read files
01:14
write & append to files
02:45
creating directories
01:33
rename, move and remove files
03:06
rename, move and remove directories
04:37

Working with Streams in Node.js:

3 lectures
readable stream
02:18
writable stream
02:48
pipes
01:15

Npm: the Node Package Manager

5 lectures
Working with npm
03:38
Working with external modules
03:22
Installing, Managing and Updating npm packages
04:28
Working With Dependencies and Devdependencies
02:42
Using npm Scripts To Automate tasks
03:35

Asynchronous Programming In NodeJs

4 lectures
Asynchronous Programming In Nodejs | an Overview
01:47
Working With Callbacks
03:20
Working with Promises
04:59
Working with Async/Await syntax
03:14

Unlocking the Web: A Journey through APIs and Web Mechanics

8 lectures
Introduction to how the Web works and Rest APIs
03:18
Working with the HTTP module
09:13
Understanding Web Headers
12:15
Handling Get Requests
07:43
Returning JSON responses and handling URLs
09:25
Handling POSTs Requests
08:20
Parsing Request Body Data
11:05
Adding a Middleware and sharing data in the request
11:05

ExpressJs Framework: Building Dynamic Web Apps

14 lectures
Unleashing the Power of Express.js: Your Gateway to Web Development
02:13
Installing expressjs
03:28
Working With Middlewares
07:33
Understanding How Middleware Works in Express.js
03:17
Handling Routes
10:39
Parsing Incoming Requests
06:27
Working with the Express Router
04:52
Path Prefix Filtering in Express.js: Navigating Your Routes with Precision
03:33
Creating a Product Model: Consistent Data Structure
08:13
Adding Products: Using Product Model and The Fake Database
05:10
Fetching Products from the API
03:25
Mastering Error Handling in Express.js: Keeping Your App Robust and Reliable
06:33
Building a deleteOne Method for Your Product Model
03:34
Understanding Dynamic Route Parameters in Express.js
05:12

Typescript

3 lectures
Installing and Configuring Typescript
04:42
Basic typescript
14:22
Advanced typescript
15:28

#### Project 1 || Beginner | social media app ####

1 lectures
What you will learn
00:11

Project Plan

2 lectures
Introduction
03:23
Install nodejs
00:04

Project Setup

4 lectures
Project setup with Typescript
03:35
Using Express JS
02:47
Compiling and Running Our Project
01:49
Using Nodemon
05:14

Parse JSON requests

3 lectures
Using Body-parser to Parse Requests
04:41
you can use express.urlencoded() && express.json() instead
00:08
urlencoded=> extended: false | important
00:05

working with Mongoose

2 lectures
MongDB Atlas & mongoose
08:32
Connecting Mongoose
02:04

Mongoose models

2 lectures
create the Post model
09:33
create the Comment model
03:13

Express Routers

11 lectures
build the create post router
10:31
Error handler middle-ware
04:27
save posts through mongoose
02:42
Updating posts using mongoose
12:08
delete and read routes
11:48
Fix: post/show router
00:24
creating comments
07:18
deleting comments
06:07
Using all routers
07:21
CORS Security Protocol
06:37
Test our API with Postman
10:27

#### Continuation of project1 || Intermediate | ####

1 lectures
what you will learn
00:13

add authentication to our app

9 lectures
signup router 1/2 and user model
05:14
signup router 2/2
03:17
signin router 1/2
04:42
signin router 2/2 + authentication_service
08:19
use jwt and cookie session | signin and signup
11:12
add expiration date to jwt token
00:19
current user middle-ware
07:31
current user router + hash password
06:11
require auth middle-ware + signout router
11:18

advanced Error handling

7 lectures
create a custom error abstract class
05:10
bad request error
07:14
not found error
01:42
not authorized error
01:33
database error
03:35
use all errors inside our app
09:59
Error handler middle-ware
08:23

add Typescript to all Models | mongoose

3 lectures
update user model | use typescript with mongoose
08:55
update all models | use typescript with mongoose
08:14
use the build method when we create a new doc
02:16

update routers

2 lectures
add post to user document
04:57
update userDoc when we delete a post
06:03

Upload and save Images to database

6 lectures
Images uploader middle-ware
06:27
use images uploader middle-ware
07:17
save images to post document
07:46
don't use file.buffer
00:03
delete images router
03:39
add images router
06:25

validation

3 lectures
validate user input with express-validator
07:40
handle validation errors
06:16
validation request middle-ware
05:10

Tests

6 lectures
don't use mongoDb cloud inside a test environment
06:08
test setup
08:47
declare a signin global method
04:54
jest config
03:18
test current user router
11:35
test signup router
07:01

more exciting projects and content

1 lectures
more exciting projects and content
01:08

#### advanced nodejs || shop app ####

1 lectures
What you will learn
00:05

introduction

3 lectures
section introduction
01:53
project structure
03:16
download the complete project
00:03

common package and npm

4 lectures
Initiate the common package
06:44
Publish our package to npm
12:25
fix1: npm package
01:38
fix2: npm package
02:12

app: main & module || run our app with the new structure

3 lectures
structure our code and run the app
13:41
express.urlencoded() && express.json()
00:08
urlencode: extended false
00:05

Auth

10 lectures
structure & create user model
03:02
user model types
05:15
user service
07:28
auth service & signup method
07:01
create and use the authentication service | common package
12:08
signin method + password hash
09:11
auth routers
11:46
use auth routers inside app.module
02:17
test the auth routers with postman
07:32
push our code to github
06:49

Seller _Service

12 lectures
product model
08:59
Uploader class | common package
19:00
use the Uploader class middle-wares
05:56
create product method | product.service
15:24
finish new product router
09:20
don't use file.buffer | and fix the upload path
03:04
update product
12:38
understand instanceof Error
01:41
delete product
08:04
add/delete images to/from an existing product
16:54
push to github
03:12
what if we want to edit the last commit?
05:50

Buyer _service

13 lectures
cart model structure
01:55
cart & productCart models
14:17
cart service
03:00
add product to cart | cart service
12:52
update product quantity | cart service
18:33
remove cartProduct from cart
06:52
create addProduct method | buyer service
08:18
create "cart/add" router | buyer.routers
03:33
1/2 - update cartProduct quantity | buyer.service
05:13
2/2 update cartProduct quantity | buyer.service
04:51
update cartProduct quantity router | buyer.router
05:10
don't send null to the client
03:28
delete product from cart & get cart routers
13:04

Stripe

8 lectures
intro
00:30
stripe secret key
02:01
stripe implementation & the checkout method
11:15
create new Customer and save customer_id
06:08
Order model + service
09:30
create new order
06:40
update customer stripe card
05:10
let's make a payment with stripe!
07:04

deployment | github/actions and heroku

4 lectures
github/actions | automated build
12:00
github/actions | automated deployment
17:26
deploy our api
11:21
deploy with netlify
00:00

####messaging app || graphql + apollo & socketio ####

1 lectures
what you will learn
00:04

introduction section

3 lectures
what is graphql?
01:16
Project introduction | the rooms concept
02:24
full project | downloadable
00:02

Initiate and run the project

5 lectures
Project Init and schema.graphql
11:03
auth resolver
04:53
generate typescript from schema automatically
08:22
module.ts
06:53
run apollo server & test graphql endpoint
10:48

Auth service

7 lectures
Install & config typeorm
04:14
user entity
07:02
create user method | user.service
07:54
app Data source
05:10
signup resolver
09:19
signin resolver
12:13
currentUser resolver & graphql context
13:17

Docker

4 lectures
What is Docker?
01:36
Install docker linux
02:17
Images to containers
05:58
containers to images
05:05

run postgres db with docker & test graphql endpoint

3 lectures
run postgres db with docker
08:07
test graphql endpoint
10:31
from db container to image
04:29

Rooms Service

10 lectures
room graphql schema
05:56
auto generate and merge schemas
13:00
room resolver
04:41
merge resolvers
05:09
room entity
07:33
create & update room | room service
09:24
createRoom resolver 1/2
08:22
createRoom resolver 2/2
04:33
getRooms resolver
03:55
test graphql endpoint
07:33

class validator

2 lectures
Implement validation with class validator
02:27
catch validation errors
06:49

socketIo

4 lectures
why we should use socket io
01:14
join rooms with socketio
07:39
emit message to a specific room
02:41
Test socket Io server
04:15

Typeorm migration

1 lectures
database migration with typeorm
11:15

Nestjs

11 lectures
generate your first Nestjs project!
12:24
Setting up mongoose
08:46
Designing and Implementing The Blog Schema
07:39
Creating The Blog Service
11:04
Creating the Blog Controller 1/2
04:56
Creating the Blog Controller 2/2
09:06
Test the Blog Component with postman
07:17
Designing and Implementing The User Schema
03:48
Creating The User service
08:48
Creating The User Controller
03:15
Implementing authentication with Auth Guards
12:39

microservices

1 lectures
coming soon!
00:00

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.