News for hackers. Stuff that matters.
Re:Open Source Replication and Offline Sync for Node.js and ... by rgoomar on Friday May 30, 2014 @03:04PM (#7823409)
This is really great! I was looking for this functionality as I was interested in the Meteor framework for this reason. It's good to see it implemented here!
Re:Open Source Replication and Offline Sync for Node.js and ... by foodog12 on Thursday May 22, 2014 @12:46PM (#7784756)
Does this work using localStorage? What about PouchDB?
Re:Open Source Replication and Offline Sync for Node.js and ... by skawful on Thursday May 22, 2014 @01:08PM (#7784888)
loopback.createDataSource({localStorage: 'mydb', connector: loopback.Memory});

...will allow you to read/write/replicate/etc models with the browser's localStorage.

LoopBack replication/sync is similar to PouchDB. The important distinction is that loopback can sync with any connector that supports the basic crud methods:

http://docs.strongloop.com/display/DOC/Data+sources+and+conn...