search

Next Section: select、insert、update、delete1102 plays

5 秒后自动播放下一节
  Watch Again

Node.js complete introductory tutorial [es6+npm+express+webpack+promise]

Introduction >
ChapterCourseware
Chapter1Initial Node

learning target

01 minutes42 seconds

JavaScript runtime environment in the browser

12 minutes59 seconds

What is Node.js

11 minutes20 seconds

Install Node.js

09 minutes25 seconds

Run JS code using Node

17 minutes13 seconds
Chapter2fs module

Read file contents

17 minutes06 seconds

Write file contents

09 minutes40 seconds

Case study of organizing results

13 minutes25 seconds

Handling path issues

19 minutes36 seconds
Chapter3path module

Use the path module to process paths

17 minutes49 seconds
Chapter4Clock case

Analyze requirements & read file content

12 minutes16 seconds

Handle CSS, JS, HTML

23 minutes53 seconds

Two points to note about the clock case

03 minutes29 seconds
Chapter5http module

Understand the concept and function of the http module

08 minutes22 seconds

Server related concepts

14 minutes30 seconds

Create the most basic web server

32 minutes08 seconds

Respond to different html content according to different urls

11 minutes51 seconds

Clock web server case

26 minutes18 seconds
Chapter6Modular

Modular concept

05 minutes42 seconds

Classification of modules & use of require

08 minutes59 seconds

Module scope and module object

08 minutes56 seconds

Use of module.exports object

12 minutes40 seconds

exports object

06 minutes20 seconds

Misunderstandings in the use of exports and module.exports

12 minutes07 seconds

CommonJS modular specification

01 minutes57 seconds
Chapter7Packages and npm

package concept

08 minutes36 seconds

Two ways to format time

20 minutes47 seconds

Other points to note when using npm

08 minutes22 seconds

Package management configuration file

24 minutes19 seconds

Solve the problem of slow packet downloading

14 minutes39 seconds

Package classification & standardized package structure

12 minutes16 seconds
Chapter8release package

Initialize the basic package structure

13 minutes32 seconds

Format time&main attribute

09 minutes05 seconds

How to escape & restore HTML

11 minutes20 seconds

Modular splitting & writing package usage documentation

14 minutes02 seconds

Publish the package to npm

14 minutes26 seconds
Chapter9Module loading mechanism and express

Module loading mechanism

18 minutes56 seconds

Get to know express and create a basic web server

09 minutes55 seconds

Listen for GET and POST requests & process parameters

20 minutes13 seconds

Static resource processing

15 minutes46 seconds

Install and use nodemon

05 minutes26 seconds
Chapter10Routing and middleware

First introduction to routing in express

13 minutes04 seconds

Routing modularity

16 minutes07 seconds

The concept and format of middleware

08 minutes13 seconds

Globally effective middleware

24 minutes59 seconds

Locally effective middleware

09 minutes55 seconds

5 things to note about middleware

04 minutes05 seconds

Classification of middleware

39 minutes45 seconds

Custom middleware

22 minutes30 seconds
Chapter11Write interface

Create basic server & create API routing module

06 minutes16 seconds

Write GET interface

06 minutes07 seconds

Write POST interface

05 minutes44 seconds

Solving interface cross-domain issues based on cors

11 minutes58 seconds
Chapter12Cross domain

Three response headers related to cors

05 minutes35 seconds

Simple request and preflight request of cors

08 minutes36 seconds

Write jsonp interface

12 minutes58 seconds
Chapter13Database learning

learning target

01 minutes26 seconds

Basic concepts of database

14 minutes58 seconds

Install mysql database

17 minutes35 seconds
Chapter14mysql basics

Basic usage of workbench

07 minutes13 seconds

Create database and tables

27 minutes39 seconds

Understand what SQL is

04 minutes11 seconds
Chapter15SQL statement

select、insert、update、delete

22 minutes15 seconds

where clause, and and or operators

11 minutes56 seconds

sort

09 minutes22 seconds

count function and as keyword

04 minutes54 seconds

Demonstrates how to save and open .sql files

01 minutes35 seconds
Chapter16mysql module

Install and configure the mysql module

11 minutes20 seconds

Query and insert data

21 minutes46 seconds

Update and delete data

19 minutes40 seconds
Chapter17Authentication

web development model

09 minutes13 seconds

The concept of identity authentication

03 minutes46 seconds

session principle

24 minutes36 seconds

Use of session middleware

17 minutes56 seconds
Chapter18jwt

Understand the principle of token

09 minutes43 seconds

Generate token in express

28 minutes21 seconds
Chapter19project

Initialize project

08 minutes05 seconds

Initialize routing module

13 minutes24 seconds

Develop API interface for registered users

37 minutes18 seconds

Code optimization

41 minutes35 seconds

Develop login API interface

15 minutes53 seconds

Token generation and verification

21 minutes12 seconds

Develop an interface to obtain basic user information

17 minutes40 seconds

Develop an interface to update users' basic information

24 minutes47 seconds

Develop an interface for resetting passwords

25 minutes18 seconds

Develop an interface for changing avatars

13 minutes37 seconds

Summarize

01 minutes39 seconds

Create a new ev_article_cate data table

05 minutes48 seconds

Develop an interface for obtaining article classification lists

17 minutes35 seconds

Develop an interface for adding new article categories

28 minutes16 seconds

Develop an interface for obtaining id and deleting article categories

14 minutes48 seconds

Develop an interface to obtain article classification based on ID

13 minutes23 seconds

Develop an interface to update article classification based on ID

23 minutes34 seconds

Create a new ev_articles article table

07 minutes23 seconds

Initialize the routing module for publishing articles

09 minutes17 seconds

Demonstrate the use of API interface

02 minutes33 seconds
  • CancelreplySending
  • Cancelpost a noteSending