Search code examples
node.jscouchdbpouchdbofflineappsoffline-browsing

ODM/ORM for PouchDB in JavaScript


I'm interested in using PouchDB for a offline-first mobile application (Cordova) and I'm wondering if there is any leightweight ORM/ODM for PouchDB written in JavaScript. Couldn't find one.

Is PouchDB the most common way to implement "offlinability" in JavaScript? Or are there other better ways to do that (without going native).


Solution

  • Another one is https://github.com/iyobo/pouchorm, claiming to be 'The definitive ORM for working with PouchDB. Native support for Typescript.'

    At the time of writing it appears to be still actively developed.

    I did some research and consider PouchDB and RxDB the two most feasible options if you go for open source and want to avoid larger costs for the servers. There still is CouchBase which provides libraries for many languages.