Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcalixte/vaquant-expense-balance
Balance expenses between multiple accounts
https://github.com/jcalixte/vaquant-expense-balance
Last synced: 17 days ago
JSON representation
Balance expenses between multiple accounts
- Host: GitHub
- URL: https://github.com/jcalixte/vaquant-expense-balance
- Owner: jcalixte
- Created: 2022-05-29T13:02:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-14T19:28:17.000Z (over 2 years ago)
- Last Synced: 2024-11-10T16:52:30.305Z (2 months ago)
- Language: TypeScript
- Size: 247 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vaquant Expense Balance
## Use cases
- this packages exports a method that tells who need to refund who to balance a set of expenses.
## TODO
- [ ] give the refund to balance expences between accounts
- [ ] set weight in expense
- [ ] minimize transactions between accounts
- [ ] enable multiple currencies
- [ ] deal with big numbers
- [ ] deal with float numbers## Experiences
- my mind is ahead of the tests. I'm already thinking about how I want to minimize the number of transactions instead of just passing my test in green even even though the use case isn't in the TODO list. Because I already know that the actual implementation will have to change.
- one feature can change everything in your design system and without it finishing in a dead end### What to do when we are in a dead end?
My first trial was something like that:
![first trial](docs/first-trial.png)