Use couchdb for saving the data

Make this app a couchapp