progs/ap0.js
changeset 166 bba0504abcf0
equal deleted inserted replaced
165:6f84ad98cf49 166:bba0504abcf0
       
     1 var express = require('express');
       
     2 var app = express();
       
     3 
       
     4 app.get('/', function(request, response){
       
     5     response.write('Hello World');
       
     6     response.end()
       
     7 });
       
     8 
       
     9 // starting the server
       
    10 app.listen(8000);