diff --git a/hello_in_nodejs/nodejs.js b/hello_in_nodejs/nodejs.js new file mode 100644 index 0000000..6275490 --- /dev/null +++ b/hello_in_nodejs/nodejs.js @@ -0,0 +1,6 @@ +var http = require('http'); + +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}); + res.end('Hello!'); +}).listen(8080);