CRUD database

Hi everyone… is that possible ionic/angularJS can we use for database activities like CRUD ? any tutorial available for this subject?

Hi vanbumi,

You can fetch data from Rest API resources and also store data in different ways, for example using the HTML5 localStorage API.

There is a good project for AngularJS (and for Ionic) called angular-cache: that uses a good approach to save data in localStorage/sessionStorage or other defined data-stores. Check it out.

Kind regards

1 Like

oke thanks a lot anasmith :blush: go right there…!

Just have in mind that local storage can be cleaned! So, just use for data that can be compromised. If you need to store data, go to database.