Skip to content

A simple way to track how much money is left until your next paycheck

License

Notifications You must be signed in to change notification settings

thx2001r/leftill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leftill

A simple way to track how much money is left until your next paycheck.

Short-term goals:

  • (DONE) Configuration of planned/recurring income and expenses
  • (DONE) Parsing of recurrences that occur within a date range (pay period until next paycheck)
  • (DONE) Parsing of overrides to planned income and expenses
  • Figuring out a current cleared balance at a point in time, akin to a "T" account in accounting terms
    • This is based on planned/recurring income and expenses as well as unplanned spending

Long-term goals:

  • Create a configuration UI for recurrences
  • Create a UI to log cleared planned/recurring income and expenses
  • Create a UI to override recurring/planned income and expenses (when paycheck or bills vary per pay period)
  • Create a UI to log current bank account balance

Recurrence configuration data:

The structure of the recurrence configuration data is:

configurationID: {              (configuration IDs are unique keys)
    amount: decimal,            (amount of each recurrence)
    description: string,        (description of the recurring transaction)
    type: string,               ("Income" or "Expense")
    automatic: boolean,         (Automated income or payment)
    recurrence: string,         (this is the recurrence parser to use)
    recurrenceStart: string,    (short date format: "MM/DD/YYYY" zero padded MM and DD)
    weeksRecurrence: integer,   (optional, for weekly parser: default is every 1 week)
    exceptions: array           (optional array of short date strings to exclude from matches)
}

Prerequisites:

  • Node.js to be able to use the Node Package Manager (NPM)
  • Git distributed version control system

Getting started:

  1. Open a terminal/command prompt
  2. cd to the path you want to clone this repo into
  3. Clone this repo via:
    • HTTPS: git clone https://github.com/thx2001r/leftill.git
    • SSH: git clone git@github.com:thx2001r/leftill.git
  4. cd leftill
  5. Download and install packages npm install or yarn install

NPM Scripts:

They are run in the terminal (PowerShell in Windows) from the repo directory or in your IDE:

  • npm run watch watches for changes and runs unit tests stored in the ./__tests__/ directory
  • npm run test runs ESLint and unit tests once
  • npm run clean cleans the ./dist/ directory
  • npm run minify minifies and uglifies ./src/js/*.js and prepends banner into ./dist/leftill.min.js
  • npm run build runs test, clean, and minify scripts

About

A simple way to track how much money is left until your next paycheck

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published