I am testing remotestorage.js. I have been doing some similar storage techniques, but I am interested in this standard, and the offline+sync features it offers. I'm not so interested in the Google and Dropbox sync, because I'd rather store my data on my own server.
I noticed that the project has changed a lot over the years, and it is difficult to find much up to date example code. I put together a simple app using ReactJS and remotestorage.js.
You can find it here:
Hopefully this helps some other people get started.