author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Thu, 15 Dec 2016 16:11:05 +0000 | |
changeset 502 | 66d2bc189b88 |
parent 383 | 3e1a2c8ed980 |
permissions | -rw-r--r-- |
var express = require('express'); var app = express(); app.get('/', function(request, response){ response.write('<H1>Hello World</H1>'); response.end() }); // alternative response //response.write('<H1>Hello World</H1>'); // starting the server app.listen(8000); console.log("Server running at http://127.0.0.1:8000/");