I’m looking for the best database to use for my ionic project. I want the user to store the database locally with the option of synchronizing that information a remote database as a payment option. Their data will be from any device by login to their user account. I have been looking at firebase Couchdb, and Parse but don’t know what I should go with. I have to keep in mind scaling my app. What are the best options out there?
LocalStorage is a great option if there is not much data to store locally. Or if you need a more flexible and larger database you might want to try IndexedDB or SQLite Plugin for Cordova(Ionic is built on top of Cordova), all of these options are for the client end.
But for the server end, I have used FireBase for one of my projects and I know it works like charm, if you are familiar with Polymer/Web Components all you have to do to have FireBase, add just one line of html and everything else is set up for you.
Links:
Cordova-LocalStorage Docs
SQLite-plugin Docs
You could use PouchDB a noSQL javascript couchDB clone. It can synchronizes with a remote couchDB database and is easy to use in a local enviroment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With