progs/ap0.js
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Thu, 06 Nov 2014 12:32:05 +0000
changeset 286 47e06cb75837
parent 166 bba0504abcf0
permissions -rw-r--r--
updated

var express = require('express');
var app = express();

app.get('/', function(request, response){
    response.write('Hello World');
    response.end()
});

// starting the server
app.listen(8000);