News for hackers. Stuff that matters.
Re:Show HN: Crudlet.js – A common, streamable interface for ... by coderzach on Monday April 06, 2015 @11:52AM (#9328722)
It would be awesome if it persisted all the operations to a log. That way, when I attach a new endpoint I could get it "caught up".

And then, assuming your handlers are idempotent, running db migrations or adding a new representation of your data would be as easy as attaching a modified handler and running through the log from the beginning.

Re:Show HN: Crudlet.js – A common, streamable interface for ... by crcn on Monday April 06, 2015 @02:53PM (#9329950)
Shouldn't be too difficult to implement. Here's one possible way to do it:

https://gist.github.com/crcn/cac5b5826590abed921d

Re:Show HN: Crudlet.js – A common, streamable interface for ... by jchrisa on Monday April 06, 2015 @01:56PM (#9329554)
Sounds like you might want http://pouchdb.com/ which has offline support including conflict management.