commit | author | age | ||
a022dd | 1 | var express = require('express'); |
DK | 2 | app = express(); |
3 | ||
4 | app.get('/', function (req, res) { | |
5 | res.send('Hello World!\n'); | |
6 | }); | |
7 | ||
f6dd2f | 8 | app.listen(8080, function () { |
HQ | 9 | console.log('Example app listening on port 8080!'); |
a022dd | 10 | }); |
DK | 11 |