Need to create a simple phonegap app that will have one button.
When user pushes the button synchronization of the local device DB with remote MongoLab hosting (via REST api or js library)
Algorithm of synchronization:
- given a list of collections and list of fields for every collection
- for every collection compare local device version and server version.
- if server version is greater then update data in local collection
- there are image fields, that keep name of image and link for it. while update need to download according image to the local folder.
app shall be working on Android and iOs