Coder Social home page Coder Social logo

dsmooke / purse-strings Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 448 KB

A budget tracker application that allows user to log deposits and withdrawals with or without a connection.

Home Page: https://purse-strings.herokuapp.com/

JavaScript 79.79% HTML 15.40% CSS 4.81%
budget-tracker-application tracker express node-js morgan-middleware service-worker manifest mongodb mongoose mongoatlas

purse-strings's Introduction

Purse Strings

Express MongoDB Mongoose schema Morgan M.I.T. License use

Description

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.

main-demo

Table of Contents

Technologies Used

  • Node
  • Express
  • MongoDB
  • Mongoose
  • PWA
  • Compression

Definitions

  • 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.

Goals

  1. Add functionality to existing Budget Tracker application to allow for offline access and functionality.
  2. Offline Functionality:
    • Enter deposits offline.
    • Enter expenses offline.
  3. When brought back online:
    • Offline entries should be added to tracker.
  4. Incorporate indexedDB in order to cache dynamic, i.e. users' inputs for withdrawals or deposits. (Use Google to research this topic).
  5. Deploy application with Heroku and MongoDB Atlas

User Story

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.

Business Context

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.

Acceptance Criteria

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.

Installation

cache-demo

serviceworker-offline

offline-pending-transaction

Developer

Used MongoDB and Mongoose

mongo-playground

Credits

Offline Cookbook

What does it take to be installable?

Contact

Dana Smooke

License

MIT


© 2020 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.