Use Couchbase Lite in browser instead of Pouchdb


We have a web app and a mobile app developed using ionic and we are using pouchdb for local database which communicates with sync gateway.

We would like to use CBL in both web & mobile apps.

We are aware of the phonegap and cordova libraries that CBL has and can use one of them in the mobile app but we wanted to know if it is possible for us to use CBL instead of Pouchdb in web app for local access of data which would then communicate with sync gateway in the backgroud to sync this data back to the couchbase server.


1 Like

No, Couchbase Lite is not itself implemented in JavaScript, so it can’t be used in a pure web app.