A budget tracker application that allows user to add expenses and deposits to their budget with or without a connection. Offline transactions will populate total when back online.
View the deployed application here.
- Description
- Technologies Used
- Definitions
- Goals
- User Story
- Acceptance Criteria
- Business Context
- Installation
- Developer
- Credits
- Contact
- License
- Node
- Express
- MongoDB
- Mongoose
- PWA
- Compression
- PWA: Progressive Web Applications; native-like capabilities; ability to open app when not online.
- manifest.webmanifest: a file we upload that describes the application; json describing a js object
- service worker: background interface, a javascript web worker; allows to run the app before the browser loads; able to cache any service you make; allows us to work offline (can view what happens and what it does when the app is offline)
- cache, caching: (v). to store (data) in a cache memory; (n). an auxiliary memory from which high-speed retrieval is possible.
- Add functionality to existing Budget Tracker application to allow for offline access and functionality.
- Offline Functionality:
- Enter deposits offline.
- Enter expenses offline.
- When brought back online:
- Offline entries should be added to tracker.
- Incorporate
indexedDB
in order to cache dynamic, i.e. users' inputs for withdrawals or deposits. (Use Google to research this topic). - Deploy application with Heroku and MongoDB Atlas
AS AN avid traveller
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 travelling.
Giving users a fast and easy way to track their money is important, but allowing them to access that information anytime is even more important. Having offline functionality is paramount to our application's success.
GIVEN a user is on a Budget App 'Purse Strings' without an internet connection
WHEN the user inputs a withdrawal or deposit
THEN that will be shown on the page, and added to their transaction history when their connection is back online.
Used MongoDB and Mongoose
Offline Cookbook
What does it take to be installable?
Dana Smooke
© 2020 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.