Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 458 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 458 Bytes

Simple Chat

This project is born to explain tailable cursor of mongodb and socket.io. A chat is the simplest project that has both requirements.

Install

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.

Other

This is an example. The code is not cleaned. So CallbackHells are guaranteed!