Question

I am looking to be able to access a Couchbase instance via Javascript. My intent is to use Couchbase as the backend for a Qooxdoo JSON datastore. I understand that Couchbase has a RESTful interface but, eventually, I'll need to wrap security and some other functions, so I'm guessing that a direct connection will not meet my requirements.

So, my question is, what would be the best way to do this? Sounds like a proxy server built around an existing Couchbase client is the way to go, but I'm open to suggestions. I'm looking for light-weight and fast.

Thanks!

Was it helpful?

Solution

There is nginx module built which allows to access couchbase over HTTP http://labs.couchbase.com/couchbase-nginx-module/

So you can expose your storage and use authentication schemes provided by other nginx modules.

Oh, and also there is REST wrapper written in ruby https://github.com/couchbaselabs/couchbase-rest-api-rails

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top