Angular 2 & Electronic Standalone Data

So, I will work on an electronic application that uses Angular2 as its main login tool. My end works with Laravel with MySQL and OAuth2.

There will also be an Android app that communicates with the back end.

The application should be offline first (1 synchronization per month in the worst case), but will be used daily. I am looking for best practices for storing data stored in Electron / Angular2 and be able to synchronize this with the inside end.

I found some tools like PouchDB and LocalForage, but they are not suitable for me. Should I think about creating a synchronization function myself? Or are there other options to consider?

thank

+4
source share
1 answer

So, this is a long time ago, but I successfully completed this project 5 months ago.

I completed it by writing my own synchronization functions and saved everything using ng2-webstorage. It was very easy to use with Angular 2.

0
source

Source: https://habr.com/ru/post/1660093/


All Articles