Skip to content

👬💰📱 React Native group budget application POC

Notifications You must be signed in to change notification settings

MaxHalford/group-budget

Repository files navigation

gBudget

This is a simple app for balancing a group budget. It's destined to put on the app store or anything; it's rather a playgroud for trying out React Native.

Demo

demo

Rebalancing algorithm

  1. Calculate the total spending person
  2. Calculate the average total spending
  3. Calculate the difference between each person's total spending and the average total spending
  4. While the differences are different than 0
    1. Find the person who has paid the most (the receiver)
    2. Find the person who has paid the least (the giver)
    3. Update each the receiver and the giver's differences with the lowest difference

Eventually the differences will all become 0 (there must be some proof out there). Here is the implementation in Python.

About

👬💰📱 React Native group budget application POC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published