summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/app.js
blob: 6a0da10f1955920bd5a999b10473a6086840ab71 (plain)
1
2
3
4
5
6
7
8
9
10
// Load the http module to create an http server.
var http = require('http');

var server = http.createServer(function (request, response) {
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.end("Hello World\n");
});
server.listen(8000);

console.log("Server is running");