summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/app.js
blob: ea1bcca47c7f9d441ac00cecf0cb293ffe1d7782 (plain)
1
2
3
4
5
6
7
8
// 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");