News for hackers. Stuff that matters.

skawful

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...

Agreed. Back when I was working on rails type projects we always wished we could just drop down into sinatra-ish APIs for certain things that didn't align with the "rails way".

Thats a +1 for LoopBack - its built on and extends express. You can drop from the magic into a barebones express route if you want:

http://apidocs.strongloop.com/loopback/#var-app-loopback