Tag: pouchdb

  • How to authenticate a user when both offline and online in Angular?

    I am developing an offline first angular app using Pouch DB and Couch DB . The end user is a desktop user who wants to use the app even when not connected to the internet. I am using Pouch DB for local database and Couch DB for remote database. One of the difficulties in developing…

  • How to update a pouch db document through Angular?

    I start this post assuming you know how to integrate pouch db with angular . If not please refer this post : (How to integrate pouch db with angular?) Once pouch db is integrated you might want to update documents into pouch db through Angular . Here is how to do it: Step 1: Retrieve…

  • How to search documents in Pouch DB through Angular, based on specific field?

    Through Mango queries. Pouch DB supports the feature of querying documents based on field values through a separate plugin and calls this feature as ‘Mango queries’. So the first step to avail this feature is to install it : Assumption : you have already installed pouch db and able to save documents( Refer : https://fullstackdeveloper.guru/2020/03/21/how-to-integrate-pouch-db-with-angular/)…

  • How to integrate Pouch DB with Angular ?

    I have been exploring with developing offline first web applications and stumbled upon Pouch DB recently . Pouch DB impressed me. It is a very simple but effective way to store data offline (in the browser) and then sync it with database on the cloud (through Couch db). Pouch DB and Couch DB work hand…