livrereader / livre

An eBook reader built with Electron
37 stars 6 forks source link

Data persistence #4

Closed jdormit closed 8 years ago

jdormit commented 8 years ago

The app should read in and save data to a data.json file at app.getPath("userData").

The data to be stored includes:

All data should be auto-saved asynchronously every 30 or 60 seconds.

The JSON should look something like:

{
  bookTitle: {
    currentLocation: String,
    bookmarks: [{
      label: String,
      href: String
    }]
  }
}
jdormit commented 8 years ago

The data.json file has been created in 3f333002763d1744f458c0b41b65545286231514. It stores known eBooks and their last known locations. Leaving the issue open until bookmarks are implemented and persisted.

jdormit commented 8 years ago

Closing this, as #6 and #3 cover the remaining work.