TripSplit
Split bills between friends ;)
Install / Use
/learn @aarhank/TripSplitREADME
SplitWise - FindCoder.io Hackathon Submission
<img alt="React" src="https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB"/><img alt="Spring" src="https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge&logo=spring&logoColor=white"/> <img alt="Java" src="https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=java&logoColor=white"/>
Full stack application to split bills among friends ;)
Frontend : https://tripsplits.netlify.app/register
Backend : https://github.com/aarhank/TripSplit-Backend

Get started
A bill spliting application, uses a greedy algorithm to give the min number of transactions to resolve the expenses, also reduces the complexity.
Application consists of a Frontend and a Backend, Backend made using springboot with fully scalable code database used is AWS RDS, Frontend is made using reactJS made use of mui library to design responsive components.
Features
-
User Sigin and Signup functionality
Takes user name and email as parameters, stores hashed password. -
Create Group, can add multiple users Takes group name,budget,type and members, can select from all users in the database.
-
Create Expenses, select multiple users to split equally
Takes expense name,amount,paidby and splitbtw as parameters. -
Generates minimum number of transactions and reduce the complexity of expenses. This uses a greedy algorithm at every step, settle all amounts of one person and recur for remaining n-1 persons.
-
Full functioning backend, database used AWS RDS Backend made using spring boot, with a sql database.
Algorithm

- Compute the net amount for every person. The net amount for person ‘i’ can be computed by subtracting sum of all debts from sum of all credits.
- Find the two persons that are maximum creditor and maximum debtor. Let the maximum amount to be credited maximum creditor be maxCredit and maximum amount to be debited from maximum debtor be maxDebit. Let the maximum debtor be Pd and maximum creditor be Pc.
- Find the minimum of maxDebit and maxCredit. Let minimum of two be x. Debit ‘x’ from Pd and credit this amount to Pc
- If x is equal to maxCredit, then remove Pc from set of persons and recur for remaining (n-1) persons.
- If x is equal to maxDebit, then remove Pd from set of persons and recur for remaining (n-1) persons.
Backend Design

Examples

Related Skills
bluebubbles
340.5kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
slack
340.5kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
tmux
340.5kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
claude-opus-4-5-migration
84.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
