Mô tả

Welcome to NodeJS Tutorial and Projects Course.

I guess let’s start by answering the most pressing question first. What is a NodeJS? And even though there are plenty of good answers out there the one that I like the most is this one - "NodeJS is an environment to run Javascript outside of the Browser". NodeJS was created in 2009 and it's built on top of Chrome's V8 Javascript Engine. As you are probably aware of, every browser has an engine, a tool that compiles our code down to machine code and Chrome uses one by the name of V8. Since the moment it was created, Node has evolved tremendously, and while there are many things to like about Node, some of the main ones are - large community, since that tremendously saves time on feature development, as well as the fact that with the help of Node, it's never been easier to build Full-Stack Apps, since both Front-End And Back-End are built in one language, and you guessed that language is our beloved Javascript.

During the course we will cover  following main technologies - NodeJS, ExpressJS, MongoDB, Mongoose, JWT and many smaller ones as well.

Course consists of

- Node Tutorial

- Express Tutorial

- Projects

- Task Manager API

- Store API

- JWT Basics

- Jobs API

- File Upload

- Send Email

- Stripe Payment

- E-Commerce API

- Email Workflow



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

Make Great Projects Node and Express

Yêu cầu

  • Basic Knowledge of HTML, CSS, JS (ES6) is Required.

Nội dung khoá học

16 sections

Introduction

6 lectures
What is Node.js
01:15
Course Requirements
01:20
Course Structure
00:43
Text Editor
00:58
Video Blur Fix
01:35
Course Review
00:30

Install

2 lectures
Browser vs Server
02:51
Install Node.js
03:18

Node Tutorial

42 lectures
REPL
02:17
CLI
05:36
Source Code
01:20
Globals
09:01
Modules Setup
03:09
First Module
12:23
Alternative Syntax
04:11
Mind Grenade
03:55
Built-in Modules Intro
02:44
OS - Module
07:22
PATH - Module
05:43
FS - Module (sync)
08:04
FS - Module (async)
08:49
Sync vs Async
06:50
HTTP Intro
01:30
HTTP - Module (setup)
04:56
HTTP- Module (more features)
07:14
NPM Info
04:22
NPM Command
02:49
First Packages and package.json
09:43
Share Code on Github
06:12
Nodemon
05:59
Uninstall Package
02:48
Global Install
05:29
package-lock.json
02:34
Important Topics - Intro
01:42
Event Loop - Info
03:09
Event Loopt - Slides
06:59
Event Loop - Code Examples
09:21
Async Patterns - Blocking Code
07:42
Async Patterns - Setup Promises
05:46
Async Patterns - Refactor to Async
05:30
Async Patterns - Node's Native Option
06:36
Events Info
02:03
Events Emitter - Code Example
03:53
Events Emitter - Additional Info
03:07
Events Emitter - HTTP Module Example
03:26
Streams Intro
01:08
Streams - Read File
06:43
Streams - Additional Info
02:04
Streams - HTTP Example
05:24
End Of Module
00:17

Express

34 lectures
HTTP Request/Response Cycle
04:02
HTTP Messages
11:02
Starter Project Info
00:08
Starter Project Install
02:06
Starter Overview
05:25
HTTP - Basics
11:43
HTTP - Headers
09:40
HTTP - Request Object
07:09
HTTP - HTML File
05:19
HTTP - App Example
10:41
Express Info
03:47
Express Basics
11:14
Express - App Example
11:26
Express - All Static
03:41
API VS SSR
05:53
JSON - Basics
08:32
Params, Query String - Setup
06:32
Params
09:11
Params - Extra Info
02:16
Query String
16:48
Additional Params and Query String Info
03:15
Middleware - Setup
10:41
APP.USE
07:04
Multiple Middleware Functions
08:05
Additional Middleware Info
06:50
Methods - GET
05:34
Methods - POST (Setup)
03:52
Methods - POST (Form Example)
12:38
Methods - POST (Javascript Example)
15:51
Install Postman
08:57
Methods - PUT
11:24
Methods - DELETE
08:22
Express Router - Setup
15:31
Express Router - Controllers
11:00

Project Intro and Setup

3 lectures
Intro
00:48
Setup
00:14
Intstall
01:33

Task Manager API

38 lectures
Intro
02:38
Setup
02:20
Basic Express Server
03:42
General Routes
01:57
Route Structure and Details
03:13
getAllTasks
08:07
All Routes
03:33
Postman Setup
09:17
REST
03:59
MongoDB Intro
01:44
Atlas Setup
02:46
DB, Network Access and Connection String
05:28
Additional Info
00:56
MongoDB Overview
04:24
CRUD - GUI Example
02:27
Mongoose Info
02:20
Connect To DB
06:31
Refactor Connect
05:05
ENV VARS
04:55
First Schema and Model
04:42
Create Task
05:36
Schema Info
02:15
Basic Validation
08:54
TRY/CATCH Block
04:01
getAllTasks Controller
06:15
getSingleTask
08:25
Two Errors
02:00
Delete Task
07:35
Update Task
08:56
Add Front-End
05:08
PUT VS PATCH
06:48
Response Types
05:22
NOT FOUND
04:13
Async Wrapper
09:57
Custom Error Handler
05:57
Custom Error Class
11:50
PORT Variable
03:00
Outro
00:04

Store API

24 lectures
Intro
01:49
Setup
01:02
Basic Express App
08:02
Connect To DB
03:12
Router
05:31
Postman Setup
02:03
EXPRESS-ASYNC-ERRORS
04:21
Product Model
08:00
Populate DB
09:36
Basic Find
05:11
Query Params
05:31
Mongoose V6 Update
00:48
Refactor to QueryObject
06:24
Company
03:42
Name
08:14
Sort - General Setup
06:44
Sort - getAllProducts Implementation
07:56
Select Option
03:58
Skip and Limit - General Info
03:27
Pagination
07:27
Numeric Filters - Setup
03:17
Numeric Filters - Regex
07:49
Numeric Filters - Complete
04:42
Outro
00:08

JWT - Basics

18 lectures
Intro
03:54
Setup
04:53
Controllers
06:37
Postman Setup
02:42
Validate Username and Password
08:52
JWT - Overview
02:21
JWT - Structure
04:44
JSONWEBTOKEN Package
00:30
Sign JWT
06:51
Bearer Token - Overview
04:13
Send Bearer Token
02:34
Check Auth Header
04:05
Verify Token
05:12
Auth Middleware Setup
04:04
Auth Middleware Complete
06:18
More Error Classes
05:42
Status Codes
02:53
More Refactor - Complete App
06:18

Jobs API

46 lectures
Intro
04:11
Setup
05:11
Controllers
02:53
Routes
07:01
Database Connection
02:06
User Schema
05:47
Create User - Basic Setup
06:02
Error Checking - Controller Example
03:57
Hashing Password Info
01:54
Hash User Password
06:51
Mongoose Middleware
06:27
Generate Token - Controller
07:09
Generate Token - Instance Method
05:31
JWT_SECRET and JWT_LIFETIME
03:19
Login Controller Setup
07:19
Compare Password
06:56
Auth Middleware - Setup
07:48
Auth Middleware - Testing
05:54
Alternative Code
01:42
Job Model
06:19
Create Job Route
07:49
Get All Jobs
04:13
Set Token Dynamically in Postman
05:10
Get Single Job
06:26
Update Job
06:51
Remove Job
04:51
Duplicate Error
09:24
Custom Error
01:46
Validation Error
06:24
Cast Error
03:45
Security Info and Packages
03:09
Security Setup
03:04
Additional Info
00:18
Heroku Update !!!
01:19
Heroku Info
02:16
Deploy to Heroku
15:58
Swagger UI Info
01:05
Clone Existing Heroku Project
03:14
Export Postman Docs
01:59
APIMATIC Info
00:38
APIMATIC Setup
05:08
Swagger UI Editor
05:56
Add Swagger UI
07:17
Render Signup
03:30
Github Repo
03:26
Render Deployment
05:32

Jobster API (Extra Project)

29 lectures
Intro
03:43
Setup
05:32
Spring Cleaning
05:37
Client Folder
03:48
Setup Front-End
05:48
Modify User Model
03:16
Modify Register and Login
05:34
Create Test User
03:58
Update User - Setup
08:20
Update User - Complete
07:25
Password "Gotcha"
07:04
Complete Jobs CRUD Functionality
07:54
Fake Data - Mockaroo
09:51
Populate Database
05:36
Search Functionality - Intro
08:43
Search Input
05:22
Status and JobType
03:33
Sort
04:37
Pagination
10:28
Check For Test User in Auth Middleware
06:35
Restrict CRUD to Test User
04:22
API Limiter
04:25
Stats Intro
05:41
ShowStats Controller
03:18
Setup Status Aggregation Pipeline
06:52
Refactor Status Data
06:46
Setup Monthly Applications Aggregation Pipeline
08:18
Refactor Monthly Applications Data
04:03
Deployment
06:28

File/Image Upload

14 lectures
Intro
01:47
Setup
04:46
Product Model
01:50
Basic Structure
08:11
Postman Setup
02:42
Create Product (Fail)
05:22
Upload Image - Postman
03:14
EXPRESS-FILEUPLOAD Package
11:05
Complete File Upload
08:54
Additional Checks
06:16
Cloudinary Intro
02:49
Cloudinary Setup
03:20
Upload Image to Cloudinary
11:09
Remove Temp Files
02:37

Send Emails

8 lectures
Intro
00:44
Setup
04:29
Nodemailer Info
02:17
Ethereal Info and Account
02:48
Send Emails With Ethereal
04:47
SendGrid Info
01:01
Sender Identity
01:27
Send Emails with SendGrid
07:11

Stripe Payment

7 lectures
Intro
00:38
Setup
01:43
General Overview
02:12
API Keys
00:54
Flow Overview
05:30
Controller Setup
06:11
Complete Payment
07:22

E-Commerce API

72 lectures
Intro
00:41
Setup
02:22
Basic Express Server
04:37
Connect To DB
04:49
Basic Routes
05:43
notFound vs ErroHandler Middleware
03:50
Morgan Package
03:19
User Model
06:17
Validator Package
03:11
Auth Routes Structure
07:38
Postman Environment Setup
05:02
Register - Initial Setup
04:46
Register - Unique Email
02:51
User Roles
06:12
Hash Passwords
05:41
JWT Setup
05:28
Refactor JWT Setup
06:29
Cookies Setup
07:50
Parse Cookies
05:48
Refactor Cookies Setup
07:00
Signed and Secure Flags
03:29
Login Route
05:34
Logout Route
06:32
Cookies -Big Picture and "Gotchas"
21:34
User Routes - Structure
09:51
User Routes - Postman
06:11
getAllUsers and getSingleUser
05:32
Authenticate User - Setup
07:32
Authenticate User - Complete
05:32
Authorize Permissions - Setup
06:38
Authorize Permissions - Complete
08:21
ShowMe Controller
04:36
UpdatePassword Controller
08:42
CreateTokenUser Function
04:08
UpdateUser Controller - FindOneAndUpdate()
08:01
UpdateUser Controller - user.save()
09:02
CheckPermissions Function
10:35
Auth Complete
01:26
Product Model
12:52
Product Routes - Structure
10:52
Product Routes - Postman
04:56
CreateProduct Controller
10:16
Remaining Product Controllers
11:27
Upload Image Controller
12:41
Review Model
07:32
Review Routes Structure
05:49
Review Routes - Postman
03:15
Create Review Controller
09:20
Get All Reviews and Get Single Review Controller
04:25
Delete Review Controller
05:00
Update Review Controller
05:12
Populate Method
03:01
Mongoose Virtuals
07:02
Alternative Single Product Reviews
05:29
Remove All Reviews
05:01
Aggregate Pipeline - Setup
09:27
Reset Database
02:17
Aggregate Pipeline - Atlas
10:37
Aggregate Pipeline - Review Model
10:37
Additional Group ID Example
05:21
Order Schema
11:07
Order Structure
08:20
Order - Postman Setup
03:48
Create Order - Check Product
16:41
Create Order - Complete
09:34
All Order Routes
10:04
Docgen - Install
01:35
Docgen - Create Docs
03:17
Security Packages
04:03
Deploy on Heroku
07:08
Small Fixes
07:01
Deploy To Render
02:48

Auth Workflow

26 lectures
Important Info
00:12
Intro
10:12
Setup
06:53
Register Controller - Refactor
10:48
Login Controller - Refactor
03:35
Proper Verification Token
03:07
Verify Email - Big Picture
03:23
Verify Email Controller - Setup
05:51
Verify Email Controller - Complete
06:33
Send Email - Setup
12:34
Send Email - First Part
10:57
Send Email - Second Part
09:47
Front-End and Origin Gotchas
12:41
Refresh Token - Big Picture
05:11
Token Model
03:16
Create Token in Login Controller
07:30
Send Multiple Cookies
08:24
Check for Existing Token
05:28
Refactor Auth Middleware - AccessToken
05:58
Refactor Auth Middleware - RefreshToken
06:51
Fix Logout Functionality
08:42
Forgot/Reset Password - Structure
05:23
Forgot Password Controller
09:40
Send Reset Password Email
11:25
Reset Password Controller
05:55
Hash Token
04:51

Bonus

1 lectures
Bonus
00:11

Đá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.