You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var server =http.createServer(function (req, res) {
18
+
res.end('beep boop!\n')
19
+
})
20
+
server.listen(5000)
21
+
```
22
+
23
+
Run this program with node:
24
+
25
+
```
26
+
$ node server.js
27
+
```
28
+
29
+
then in a browser open `http://localhost:5000`
30
+
31
+
---
32
+
# static files: fs
33
+
34
+
using fs...
35
+
36
+
---
37
+
# static files: ecstatic
38
+
39
+
using ecstatic...
40
+
41
+
---
42
+
# routing: manually
43
+
44
+
doing routing manually with req.url
45
+
46
+
---
47
+
# routing: routes
48
+
49
+
using the routes module
50
+
51
+
---
52
+
# client-side, server-side
53
+
54
+
---
55
+
# browserify
56
+
57
+
---
58
+
# virtual-dom
59
+
60
+
---
61
+
# database
62
+
63
+
---
64
+
# starter projects
65
+
66
+
*[virtual-dom-starter](https://github.com/substack/virtual-dom-starter) - bare-bones client-side app setup using virtual dom
67
+
*[virtual-dom-universal-starter](https://github.com/substack/virtual-dom-universal-starter) - browser+node (universal) virtual-dom setup with routing
68
+
*[virtual-dom-unidirectional-example](https://github.com/substack/virtual-dom-unidirectional-example) - flow control example with virtual-dom
69
+
*[virtual-dom-starter-babel-es6](https://github.com/substack/virtual-dom-starter-babel-es6) - bare-bones client-side app setup using virtual dom with babel for es6
70
+
*[virtual-dom-starter-babel-es6-jsx](https://github.com/substack/virtual-dom-starter-babel-es6-jsx) - bare-bones client-side app setup using virtual dom with babel for es6 and jsx
71
+
72
+
*[react-starter](http://github.com/substack/react-starter) - bare-bones client-side app setup using react with jsx
73
+
*[react-starter-es6-babel](https://github.com/substack/react-starter-es6-babel) - bare-bones client-side app setup using react with babel for es6 and jsx
0 commit comments