16
16
10 . Building an HTTP server using built-in ` http ` module
17
17
1 . HTTP request methods
18
18
2 . HTTP response status codes
19
- 3 . Example
19
+ 3 . Routing
20
+ 4 . Example
20
21
11 . Homework
21
22
22
23
## What is Node.js?
@@ -28,6 +29,14 @@ From Node.js' [website](https://nodejs.org/en/):
28
29
> and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of
29
30
> open source libraries in the world.
30
31
32
+ Videos:
33
+
34
+ [ Introduction to Node.js] ( https://www.youtube.com/watch?v=w-7RQ46RgxU&index=1&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp )
35
+
36
+ [ The V8 Engine] ( https://www.youtube.com/watch?v=86tgU7UaJmU&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=3 ) .
37
+
38
+ Reading:
39
+
31
40
[ What is Node.js? What can you do with it? Why should you use it?] ( https://medium.com/@paynoattn/what-is-nodejs-what-can-you-do-with-it-why-should-you-use-it-8c8d6df32d6d#.qvbp8g4dq )
32
41
_ estimated time: 10 minutes_
33
42
@@ -49,6 +58,14 @@ _estimated time: 4-6 hours_
49
58
50
59
## Setting up a Node.js project using ` npm init ` and ` package.json `
51
60
61
+ Videos:
62
+
63
+ [ Node Package Manager] ( https://www.youtube.com/watch?v=kQ1j0rEI7EI&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=20 )
64
+
65
+ [ The package.json File] ( https://www.youtube.com/watch?v=_eRwjuIDJ2Y&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=21 )
66
+
67
+ Documentation:
68
+
52
69
[ ` npm init ` ] ( https://docs.npmjs.com/cli/init )
53
70
54
71
[ ` package.json ` ] ( https://docs.npmjs.com/files/package.json )
@@ -59,10 +76,28 @@ _estimated time: 4-6 hours_
59
76
60
77
## Importing modules using ` require `
61
78
79
+ Videos:
80
+
81
+ [ Modules and ` require() ` ] ( https://www.youtube.com/watch?v=xHLd36QoS4k&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=6 )
82
+
83
+ [ Module Patterns] ( https://www.youtube.com/watch?v=9UaZtgB5tQI&index=7&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp )
84
+
85
+ Documentation:
86
+
62
87
[ Node.js modules] ( https://nodejs.org/docs/latest-v8.x/api/modules.html )
63
88
64
89
## Building an HTTP server using built-in ` http ` module
65
90
91
+ Videos:
92
+
93
+ [ Clients & Servers] ( https://www.youtube.com/watch?v=qSAze9b0wrY&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=11 )
94
+
95
+ [ Creating a Server] ( https://www.youtube.com/watch?v=lm86czWdrk0&index=12&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp )
96
+
97
+ [ Basic Routing] ( https://www.youtube.com/watch?v=_zvWeGwVkCY&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&index=19 )
98
+
99
+ Documentation:
100
+
66
101
[ ` http ` module documentation] ( https://nodejs.org/docs/latest-v8.x/api/http.html )
67
102
68
103
[ HTTP request methods] ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods )
0 commit comments