Client side local storage database