diff -r 5031e7778fdb -r 02026ee18378 progs/App0.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/App0.js Tue Sep 23 01:06:00 2014 +0100 @@ -0,0 +1,14 @@ +var express = require('express'); +var app = express(); + +app.get('/', function(request, response){ + response.write('Hello World'); + response.end() +}); + +// alternative response +//response.write('

Hello World

'); + +// starting the server +app.listen(8000); +console.log("Server running at http://127.0.0.1:8000/"); \ No newline at end of file