Plugin to give a REST API to PouchDB database