This project is not maintained anymore (Legacy Code)
node-step-by-step (Year 2014)
building nodejs step by step (building chat server and later client )
step00 branch
write the server side as shown in the image
//test your server with node
$ node server.js