3 ms·
We made a pwa for our sales team. Globally they visit millions of stores everyday and more than 80% stores are in poor or no internet area at all. They need to
by ies7 5y ago
We made a pwa for our sales team. Globally they visit millions of stores everyday and more than 80% stores are in poor or no internet area at all.
They need to make sales order, survey, etc while offline and sync with our server whenever they get internet connection.
- maestrae 5y agoi'm currently thinking about building something similar - do you mind sharing more about what tech stack you used, esp. how you handled the offline data and syncing?
- adamddev1 5y agoWas PouchDB / CouchDB used? I've found that it works marvelously for no-hassle syncing.
- ies7 5y agoSorry very late reply. But yes we use pouch+couch to one way sync from our server to thousands device. And from our sales force device to our server while we still save the data in pouch, we choose to use pwa's service worker to send directly to postgresql instead of pouchdb-couchdb sync.
- adamddev1 5y agoThanks for the reply. And I guess you do the service worker -> postgresql thing to avoid the database-per-user setup with pouch-couch 2-way sync?
- adamddev1 5y agoYes! I think it's hard for people in the 1st world to imagine that not everyone can get data whenever they want. In one country even YouTube added a feature for downloading and saving videos for offline viewing because they knew that internet was often slow or unreliable.