Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HiveDB (in place of sembastDB) for better Offline Performance and implement WeekMenu persistence. #169

Open
Nitish145 opened this issue Apr 18, 2021 · 0 comments
Assignees
Labels
database Database related task enhancement New feature or request networking Networking related tasks

Comments

@Nitish145
Copy link
Member

pub.dev - https://pub.dev/packages/hive
docs - https://docs.hivedb.dev/#/

  1. Store every week's menu fetched in localStorage against the week_id in HiveDB.
  2. Whenever week's menu is requested, fetch from local storage first and if null then go ahead with the API call.
  3. API call for the corresponding week_id is anyways made to update the week menu stored in the localStorage.
@Nitish145 Nitish145 added enhancement New feature or request database Database related task networking Networking related tasks labels Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Database related task enhancement New feature or request networking Networking related tasks
Projects
None yet
Development

No branches or pull requests

2 participants