user1277281
user1277281

Reputation: 117

best database to use for my ionic project

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?

Upvotes: 9

Views: 14381

Answers (2)

Adi
Adi

Reputation: 6374

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

Upvotes: 6

Toxus
Toxus

Reputation: 665

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.

Upvotes: 4

Related Questions