node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org ยป

own-couchdb

own

A service to own couchdb instances

API

All requests require a valid Authorization header like Basic TOKEN or Bearer TOKEN.

POST /:app

Own app

any user

GET /:app

Get code for app

admin only

PURGE /:app

Renew app's code

admin only

PUT /:app/:code

Join the app as the current user with a code

any user

DELETE /:app/:email

Make user leave the app

admin only

TODO

LOCK /:app

Prevent users from outside the app to see its contents without being logged in.

admin only

UNLOCK /:app

Allow users from outside the app to see its contents without being logged in.

admin only

Ref: http://docs.couchdb.org/en/stable/api/database/security.html

License MIT with <3 by Uxtemple :)