progs/ap0.js
author Christian Urban <urbanc@in.tum.de>
Sun, 11 Dec 2016 07:23:03 +0000
changeset 500 b03becc049e6
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);