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);