Giter VIP home page Giter VIP logo

personal-finances's Introduction

DB STRUCTURE

CREATE TABLE Checks (
    ID serial primary key,
    Amount int,
    DateDeposited DATE,
    Description varchar(255),
    Picture varchar(255),
    Reoccuring BOOLEAN
);

CREATE TABLE CheckTerm (
    ID serial primary key,
    CheckID int references CHECKS(ID),
    Twenty int,
    Thirty int,
    Fifty int
);

CREATE TABLE TermTransactions (
    ID serial primary key,
    CheckTermID int references CheckTerm(ID),
    TransactionDate DATE,
    Account varchar (255),
    Transaction int,
    Description varchar(255),
    Photo varchar(255)
);
  1. Check

    1. User adds payment
    2. Amount
    3. Picture
    4. Description
    5. Reoccuring (true / false)
    6. Generated Automatically
    7. ID
    8. Date Deposited
  2. CheckTerm

  3. For the current status of check amount

  4. Check is added computer calculates

    1. 20% of initial check
    2. 30% of initial check
    3. 50% of initial check
  5. Transactions

  6. Adjustment is made to (Twenty / Thirty / Fifty)

1. User adds transaction
    1. Amount
    2. Description
    3. Photo
    4. Account => 20 / 30 / 50
2. Generated Automatically
    1. ID
    2. CheckTermID  

Routes

  1. Check

    1. User adds check
    2. User deletes check
  2. CheckTerm

    1. Computer adds term
    2. Computer modifies when user inputs transaction
    3. Computer fetches CheckTerm
  3. Transactions

    1. User adds transaction
    2. User fetches transactions
    3. User deletes transactions

TODO (feature based)

  1. Photo on check

  2. User adds transaction

    1. Transaction is posted to DB
    2. get checkterm amount
    3. subtract transaction from appropriate checkterm ammount and modify the checkterm.

Report Feature


Period | Total Income | Total Spent | Total Saved
------------- | -------------  |
March         | 3000.00 | 1200.00 | 2800.00

TransactionID| Amount | Description | Photo
------------- | -------------  |
122  | 30.00 | Groceries | Photo
123  | 20.00 | Gas | Photo
124  | 100.00 | Insurance | Photo


Twenty | Thirty| Fifty | Remaining
------------- | -------------  |
600.00       | 54.23 | 100.10 | 754.23

personal-finances's People

Contributors

alexander-poe avatar

Watchers

 avatar

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.