Would FeathersJS be suitable to synchronize an offline javascript database with a backend api

626 Views Asked by At

I want to be able to allow the user to work offline with a javascript database such as PouchDB or IndexDb to store records not just user data and then sync up to the server when online.

To that end FeathersJS said it could sit in the middle between a legacy api and the Feather's client to handle real-time sync.

Does the real-time sync mean that Feathers is appropriate for use as a two way client to api synchronization with conflict resolution?

1

There are 1 best solutions below

2
On BEST ANSWER

My understanding is that the default Feathers realtime sync does not handle offline storage and conflict resolution out of the box.

That said, there are a lot of resources for getting Feathers to accomplish this. I would start here:

https://feathersjs-offline.github.io/docs/

(Edited thanks to Yannick Marcon from a comment)