ssimono / freecount

Your free shared expenses tracking solution
MIT License
12 stars 3 forks source link

Offline version using browser's persistent storage #5

Open Wikinaut opened 4 years ago

Wikinaut commented 4 years ago

Just as a comment! Thanks for latest improvements.

Question: can this be run locally, storing in the browser's persistent memory?

eggman64 commented 4 years ago

@Wikinaut for a second person to join in on a Trip, the browser communicates with jsonbox (which functions as a shared datastore). If you weren't sharing expenses, then in theory you wouldn't need this shared storage layer. This functionality is pretty much embedded into all features of the app.

Was there another aspect of local storage use that you had in mind? Perhaps describing your use case could help. Cheers.

Wikinaut commented 4 years ago

@eggman64 I wanted to be able to also use the system offline for a "Bordkasse" (engl.: kitty) - when sailing, without internet connection. So basically I want to keep the data in the browser's persistent storage (as an option with export/import data in i) json and ii) csv formats).

eggman64 commented 4 years ago

Oh most definitely. The app is eventually consistent already :) So when you're next online it will sync up with jsonbox. It uses local storage, of course, to pull this off.

Export expenses to JSON should be easily done. May be we should move that to a separate issue though

On Mon, 1 Jun 2020 at 12:25, Wikinaut notifications@github.com wrote:

@eggman64 https://github.com/eggman64 I wanted to be able to also use the system offline for a "Bordkasse" (engl.: kitty) - when sailing, without internet connection. So basically I want to keep the data in the browser's persistent storage (as an option with export/import data in i) json and ii) csv formats).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ssimono/freecount/issues/5#issuecomment-636768331, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU3NJ4GJCGBALJW7GV2LVTRUN627ANCNFSM4NPJEGIQ .