9
9
5 . Finding documentation
10
10
6 . Setting up a Node.js project using ` npm init ` and ` package.json `
11
11
7 . Installing dependencies using ` npm install `
12
+ 1 . Local and global mode
12
13
8 . Importing modules using ` require `
13
14
1 . Built-in, external modules and local files
14
15
9 . Building an HTTP server using built-in ` http ` module
15
- 1 . HTTP methods
16
- 2 . HTTP status codes
16
+ 1 . HTTP request methods
17
+ 2 . HTTP response status codes
17
18
10 . Homework
18
19
19
20
## What is Node.js?
@@ -30,13 +31,39 @@ _estimated time: 10 minutes_
30
31
31
32
## Getting started with Node.js and npm
32
33
33
- Tutorials: [ NPM tutorials. Follow chapters 1 - 10] ( https://docs.npmjs.com/getting-started/installing-node )
34
+ [ A Beginner’s Guide to npm — the Node Package Manager] ( https://www.sitepoint.com/beginners-guide-node-package-manager/ )
35
+ [ NPM tutorials. Follow chapters 1 - 10] ( https://docs.npmjs.com/getting-started/installing-node )
34
36
_ estimated time: 4-6 hours_
35
37
36
- ## Promises' refresher
38
+ ## Finding documentation
37
39
38
- Jim's [ summary of promises] ( https://github.com/remarcmij/JavaScript/blob/master/fundamentals/promises.md )
39
- from JavaScript module.
40
+ [ Mozilla Developer Network] ( https://developer.mozilla.org/en-US/docs/Web )
41
+
42
+ [ Node.js Documentation] ( https://nodejs.org/docs/latest-v8.x/api/documentation.html )
43
+
44
+ ## Setting up a Node.js project using ` npm init ` and ` package.json `
45
+
46
+ [ ` npm init ` ] ( https://docs.npmjs.com/cli/init )
47
+
48
+ [ ` package.json ` ] ( https://docs.npmjs.com/files/package.json )
49
+
50
+ ## Installing dependencies using ` npm install `
51
+
52
+ [ ` npm install ` ] ( https://docs.npmjs.com/cli/install )
53
+
54
+ ## Importing modules using ` require `
55
+
56
+ [ Node.js Modules] ( https://nodejs.org/docs/latest-v8.x/api/modules.html )
57
+
58
+ ## Building an HTTP server using built-in ` http ` module
59
+
60
+ [ HTTP request methods] ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods )
61
+
62
+ [ HTTP response status codes] ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Status )
63
+
64
+ ## Homework
65
+
66
+ Check [ README.md] ( homework/README.md ) in ` homework ` subdirectory.
40
67
41
68
## Control flow and events
42
69
0 commit comments