changeset 166 | bba0504abcf0 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/ap0.js Tue Sep 23 02:04:34 2014 +0100 @@ -0,0 +1,10 @@ +var express = require('express'); +var app = express(); + +app.get('/', function(request, response){ + response.write('Hello World'); + response.end() +}); + +// starting the server +app.listen(8000);