My first step into learning about Node.js and I here is my hello world example:

    var http = require('http')
    http.createServer(function(request, response) {
    console.log('new request');
    response.writeHead(200, {
    'Content-Type': 'text/plain'
    });
    response.end('Hello World!');
    }).listen(4000);
comments powered by Disqus