Showing
3 changed files
with
26 additions
and
0 deletions
app.js
0 → 100644
1 | +var express = require('express'); | ||
2 | +var app = express(); | ||
3 | +app.get('/', function (req, res) { | ||
4 | + res.send('Hello World'); | ||
5 | +}) | ||
6 | + | ||
7 | +var server = app.listen(80, function () { | ||
8 | + var host = server.address().address | ||
9 | + var port = server.address().port | ||
10 | + console.log("Example app listening at http://%s:%s", host, port) | ||
11 | +}) | ||
12 | + |
package-lock.json
0 → 100644
This diff is collapsed. Click to expand it.
package.json
0 → 100644
-
Please register or login to post a comment