Thanks for raising this issue.
It looks like the minimum CouchDB version supported by hoodie is 1.2.0, and Cloudant seems to be running 1.0.2. I just created a Cloudant account and tried starting a hoodie app setting
COUCH_URL to the Cloudant URL. Something like:
COUCH_URL=https://user:password.cloudant.com hoodie start
App won't start and error confirms CouchDB version not supported:
Error: The version of CouchDB you are using is out of date. Please update to the latest version of CouchDB.
On a different note, once we get past the version mismatch, I found that there is an extra step in setting up a Cloudant couch to use CouchDB's
_users database for authentication.
Can I use CouchDB security features (_users database, security objects, validation functions) on Cloudant? Yes you can. If you want to use the _users database you must first turn off Cloudant's own security for the roles you want to manage via _users. To do this you need to PUT a JSON document like the following to the _security endpoint of the database (for example https://USERNAME.cloudant.com/DATABASE/_security):