mfouladi / CollegeHotlineTest

0 stars 0 forks source link

Set up web sockets to replace get request every second #22

Open mfouladi opened 9 years ago

mfouladi commented 9 years ago

Socket.io library uses web sockets to allow for a two way persistent connection to update the database and to get updated by the database when something is changed. this will solve our problem of sending get request over and over again.

mfouladi commented 9 years ago

this looks even better: http://express-io.org/ its express + socket.io