Simple chat apllication using socket.io and nodejs