AS AN avid traveler I WANT to be able to track my withdrawals and deposits with or without a data/internet connection SO THAT my account balance is accurate when I am traveling
GIVEN a budget tracker without an internet connection WHEN the user inputs an expense or deposit THEN they will receive a notification that they have added an expense or deposit WHEN the user reestablishes an internet connection THEN the deposits or expenses added while they were offline are added to their transaction history and their totals are updated
Indexeddb steps
- Open a database.✔️
- Create an object store for future versions of database✔️
- add eventlistener for changes to db that will save the database✔️
- Create an object store in the database.✔️
- Start a transaction and make a request to do some database operation, like adding or retrieving data.✔️
- Wait for the operation to complete by listening to the right kind of DOM event.✔️
- Do something with the results (which can be found on the request object).✔️
-
Install service worker✔️
-
activate service worker✔️
-
Fetch service worker✔️
- Setup PWA Manifest✔️
HTML, CSS, JS, MongoDb, Indexdb, PWA