By - Ashteya Biharisingh
In Part 1 of this tutorial we used @ngrx/store to manage our application state in memory. In order to persist this state, we are going to use @ngrx/effects.
We are also going to use PouchDB to save the data to a local database. I won't go into the details of PouchDB in this tutorial, since it's all explained in my tutorial for PouchDB + Ionic 2. So if you're new to PouchDB, you might want to read that first before you continue with this tutorial.
This tutorial is part of a multi-part series:
Part 1 - Setting up Store, Actions and Reducers
Part 2 - Persisting to a PouchDB database (this post)