pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
955 stars 154 forks source link

How can I configure express-pouchdb from the server itself #224

Open vinz243 opened 7 years ago

vinz243 commented 7 years ago

I'd like to use express-pouchdb in my project. However, when my application is started for the first time on a machine, I would like to:

How can I do this from the very application that runs express-pouchdb?

rjcorwin commented 7 years ago

I'm working on some boilerplate for this. So far no luck but this is what I have.

https://github.com/rjsteinert/express-pouchdb-server-boilerplate

It's unfortunately not getting past the creation of the first admin user. I think there could be something broke with how I'm setting up the server or express-pouchdb itself because even when I comment out the http calls and visit the server in the browser, Futon is all broken. Running pouchdb-server directly is working fine.

rjcorwin commented 7 years ago

Turned it into a PR for another example https://github.com/pouchdb/pouchdb-server/pull/239