Hello world!

var http = require(‘http’)
var server = http.createServer(function (request, response) {
 response.writeHead(200, {‘Content-Type’: ‘text/plain’})
 response.end(‘Hello World!’)
})

server.listen(8000)
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.