Hi, searching around I’ve just noticed there is no way to embed a node.js server in a ionic app, I’m a little disappointed I thought it was possible. The app should be offline (no network connection needed) since the db is about 2MB.
There is some kind of workaround for this?
About the data persistence? I see two options SQLite and Localstorage, there are any others? The db will not get updated from the users, it is basically a read-only data. The updates of the db will be only though the app upgrade.
If you’re not concerned with security you could try just persisting the data in a json file and reading it on app start and updating it just before leaving the app. Cordova’s www folder or any fileApi app only storage can be used. Check to see Cordova File Plugin