The REST API for Mongolab is cool. I can use that for analytics in my website directly using the following javascript, provided on Mongolab\'s support page. Only if I can unders
You have an API key for doing http request to your DB using their REST API. For example, if a user wants to log in I make a request with a GET method like this:
https://api.mongolab.com/api/1/databases/name_db/collections/users/put_your_params_like_username_and_pw?apiKey=xxxxxxxxx
And then you analyze the response to that request. It is not the most secure DB in the world but it is getting better.
If you want more info I talk about that in my blog: http://lolapriego.com/blog/?p=16