Reputation: 1086
New to pouchDB world.
1)Plan: Android app with Cordova + pouchDB +SQLite Plugin + SyncGateWay+ Couchbase Server.
2)What does the HTTP stack used by pouchDB javascript for syncing docs?
Thanks
Nithin
Upvotes: 0
Views: 83
Reputation: 11620
When you use PouchDB, you actually don't manage the HTTP stuff yourself. PouchDB communicates directly with CouchDB/CouchbaseSyncGateway/Cloudant/etc. when you call db.sync()
or db.replicate()
.
You can set up a Nginx or Apache reverse proxy if you like, but it's also fine to just talk directly to the database.
Upvotes: 1