This project is born to explain tailable cursor of mongodb and socket.io. A chat is the simplest project that has both requirements.
Make sure the mongo daemon run correctly on localhost.
Run
npm install
and go to the browser at http://localhost:3000 to see the chat.
To see the feature better, two browser tabs should be opened.
This is an example. The code is not cleaned. So CallbackHells are guaranteed!