tl;dr: remote HTTP APIs enabled the development of native web apps, but they're not really suited to the real world of mobile users. A sync-capable client-side database enables you to build offline-first applications. PouchDB is a JavaScript-based database that runs on the server and on the browser and that is able to sync when the network is available.
Full article