Real-time RESTfull Database app with sockets.io