public
Created

Hello World Node

  • Download Gist
server.js
JavaScript
1 2 3 4 5 6
var http = require("http");
http.createServer(function(request, response){
response.writeHead(200, {"Content-Type":"text/plain"});
response.write("hello world");
response.end();
}).listen(8888);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.