Which database should I use in ionic mobile project?

Hello everyone;
I will try a mobile project that this is my first ionic project.
I want to learn Angular and Ionic. So i decided make a simple mobile project.
I was searched google but i found a lots of database. (MongoDb, Sqlite, Firebase etc.) so my mind was confused.
Which database should I use in ionic mobile project?
And Is there any beginers documentation for these database that should tell i use with ionic framework?
If you help i am very happy.
Thank you so much.

Hey,

Ionic doesn’t talk directly to a database. You need a backend (doesn’t matter what language) that implements an API that Ionic would talk to. That API would communicate with the database.

If you don’t want to implement a backend, Firebase is a good option as it is an entire Backend as a Service. This means it includes both the API layer and the Database layer.

1 Like

Thank you so much. I will try to use Firebase.

There are many different storage options when it comes to Ionic Framework. Two popular client side options are SQLite if you want to retain an RDBMS feel, or local storage if you want to be hip with modern web development.

There are many solutions that offer synchronization between client device and remote server. A few of the popular ones are Firebase, PouchDB, Parse, and Dropbox.

Time for my shameless plug on the topic:

Firebase: https://blog.nraboy.com/2014/12/syncing-data-firebase-using-ionic-framework/
PouchDB: http://devgirl.org/2014/12/30/sync-data-using-pouchdb-in-your-ionic-framework-app/
SQLite: https://blog.nraboy.com/2014/11/use-sqlite-instead-local-storage-ionic-framework/
Local Storage: https://blog.nraboy.com/2014/06/saving-data-with-ionicframework/
Dropbox: https://blog.nraboy.com/2014/10/syncing-data-dropbox-using-ionicframework/

Any of those resources should be enough to get you started.

Regards,

4 Likes

Thank you so much Nic Raboy. Already i watching your some videos. All of them good and very useful. Thank you also for your your videos. Mostly peoples recommended Firebase so i will try it.