I need to deploy an Angular file manager that can sync content between multiple servers in a master-master configuration.
I would like to use something like https://github.com/joni2back/angular-filemanager for the Angular file manager portion.
One possible solution I was thinking is to modify the backend to use CouchDB to store all files, enabling replication across servers with CouchDB's replication. CouchDB's support for partial replication is appealing, as this gives us more granular control, but I am open to using a different database or solution for syncing files across servers. Syncing is to servers with poor internet connectivity, so should be capable of being interrupted and resumed.
On the backend I am open to suggestions, but am partial to Node.JS with a framework like Loopback for a REST API.