diff options
author | startxfr <clarue@startx.fr> | 2015-11-29 04:45:26 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-29 04:45:26 +0100 |
commit | eb3d88b10a0feb302a9fd1ec60a7a92caebb856c (patch) | |
tree | d5505c96ddd69b6c47cd00bb77f8de0b15012720 /Services/nodejs/app.js | |
parent | 78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df (diff) | |
download | phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.gz phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.bz2 phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.xz phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.zip |
start reshaping nodejs service
Diffstat (limited to 'Services/nodejs/app.js')
-rw-r--r-- | Services/nodejs/app.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Services/nodejs/app.js b/Services/nodejs/app.js new file mode 100644 index 0000000..6a0da10 --- /dev/null +++ b/Services/nodejs/app.js @@ -0,0 +1,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");
\ No newline at end of file |