progs/ap0.js
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 23 Sep 2014 02:04:34 +0100
changeset 166 bba0504abcf0
permissions -rw-r--r--
added js snippets

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

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

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