progs/ap0.js
author Christian Urban <urbanc@in.tum.de>
Thu, 15 Dec 2016 16:18:25 +0000
changeset 506 5446dc1fc992
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);