It really depends on where your comfort levels are with what you want to use as a frame.
If you are thinking about using Meteor, you can create a REST api using the package in the atmosphere repository called Meteor Router . Meteor Router allows you to create server-side routes that you can implement REST requests from the end of the server.
In addition to REST, meteor also has another interface called DDP (Distributed Data Protocol), which is similar to REST, but tries to keep an open socket at any time so that data can be pushed anyway.
Currently there are DDP clients for Objective-C, NodeJS, Python, .NET, and Ruby.
source share