I’ve been working on making it ultra simple to expose a JSON HTTP API from your Meteor app. All you have to do is add the simple:rest package:
meteor add simple:rest
Now, you can access all of your publications and methods defined with Meteor.methods and Meteor.publish via HTTP! You can load your data and call methods with JQuery, Ruby, Python, Android, iOS, etc. This should make it much easier to work with your Meteor server from other apps, tools, and programs.
Check out the documentation for more info. This is completely stable, but it’s a preview release because I want to get more feedback from people about whether this is the right direction. Read about the design and discuss feedback in this Hackpad.
This package is all about an automatic API for methods and publications; if you are looking for CRUD-style REST APIs for your collections, I recommend nimble:restivus.
Thanks, this looks pretty awesome. This seems great for when setting up and using websockets from another non-Meteor client isn’t possible/worth the effort.