Shared expense splitter
L2–L4
Level range
8
Sprints
38
Tasks
Backend and frontend
Built as
What you’ll build
An app for sharing costs with other people. Start a group, invite the people in it, add an expense, and see straight away who owes whom. Split a bill the way it was really split, fix a mistake weeks later without the numbers going wrong, and settle up in the fewest payments that clear the group.
A skill in every sprint
You show you have it in a pull request your team reviews, then explain it in a walkthrough.
Authentication
You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.
Roles and permissions
You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.
A ledger you can trust
You can record credits and debits and produce a balance that is the sum of them — and explain why the balance is not a column you update, and what happens when two movements land at once.
Email verification
You can issue a verification link, activate the account when it is followed, and explain what the link contains and why it cannot simply be a user id.
Going live
Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.
8 sprints, 38 tasks
Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.
- Sprint 01
Getting in
A person can create an account, come back to it, sign out safely on a shared device, and appear to others by the name they chose.
4 tasks
- Let a visitor create an account and be signed in straight away
- Let a person sign in and stay signed in when they come back
- Make signing out end the session, so a shared device shows nothing
- Show every person by the display name they chose
- Sprint 02
A group of people
A person can start a group and add the people in it, and nobody outside the group can see it.
4 tasks
- Let a signed-in person start a group and add the people in it
- Refuse every request for a group from anyone who is not a member
- Let a group include members who have no account
- Show a clear next step on empty screens instead of empty tables
- Sprint 03
What one person paid
One member records what they paid, the group splits it equally, every member sees what they owe or are owed, and the balances in the group always add up to exactly zero.
5 tasks
- Let a member record an expense they paid for the group
- Show every member what they owe or are owed
- Share out the odd penny by a fixed rule so splits always add up
- Add a test that proves every group's balances add up to zero
- Keep amounts exact to the penny, however many expenses there are
- Sprint 04
Splits that match what happened
A member can split a bill by share or by exact amounts, between some or all of the group, with a payer who may not be in the split, and the group still adds up to exactly zero.
5 tasks
- Let a member split a bill by shares
- Let a member split a bill by exact amounts that must add up to the total
- Let a member share an expense between only some of the group
- Let a member pay for something they are not sharing
- Let any member open an expense and see exactly who was charged what
- Sprint 05
Settling up
A member records a payment between two people, the group sees the fewest payments that settle everyone, and a payment sent twice is recorded once.
5 tasks
- Let a member record a payment from one person to another
- Show the fewest payments that settle everyone in the group
- Record a payment once when the same request arrives twice
- Let a member record a part payment and see what is still owed
- Make clear on every screen that the app records payments and does not make them
- Sprint 06
Nothing is deleted
A member can correct or remove an expense or payment weeks later, every balance still adds up and can be traced, and a member who still owes cannot vanish from the group.
5 tasks
- Let a member correct an expense weeks after it was recorded
- Let a member remove an expense or payment and keep a record that it was removed
- Let any member open a balance and see every entry behind it
- Stop a member who still owes from disappearing when they leave
- Keep recorded payments unchanged when an expense is corrected
- Sprint 07
The people are real
A member invites the others by email with a link only the invited person can use, the invited person joins and finds their history already there, and every account confirms its address before it takes part in a group.
5 tasks
- Let a member invite another member by email
- Make invitation links impossible to guess, single use and short lived
- Link an accepted invitation to the member who was already in the group
- Require every account to confirm its email address before it joins a group
- Stop one person from becoming two members of the same group
- Sprint 08
Put it where people are
The group uses the app on the internet, emails arrive in real inboxes, a bad release can be undone, and the data survives losing the server.
5 tasks
- Put the app on a server so others can use it while your laptop is off
- Send invitation and confirmation emails to real inboxes
- Move every setting and secret out of the code and into the environment
- Give the app a readable web address over a secure connection
- Make releases reversible and keep a tested backup away from the server
Read before you build
Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.
What you are building
The product, who uses it, what finished means, and why getting the numbers exactly right is the whole job.
A ledger that balances
Why the app records money events instead of storing balances, why every event adds up to zero, and the test that fails the day you get it wrong.
More fintech Blueprints
Budget and spending tracker
A budget app for one person, kept one month at a time. Each spend goes into a category. Every figure on the screen is the sum of the entries behind it. At the end of the month, the month closes and its figures stop changing. What is left over or overspent then moves into the next month by a rule the person can read.
Freelance invoicing
An invoicing app for one freelancer. They write an invoice whose total is correct to the penny, send it to a client who does not need an account, record the payments that arrive, and fix mistakes with a credit note instead of changing an invoice the client already has.
Contribution circle
A savings circle app. A fixed group pays the same amount every round, and one member takes the whole pot each round. Every member can see the order, who has paid, who is behind and every settlement. The app records the money; members still hand it over in cash or by bank transfer.
Not the one for you?
Every Blueprint is planned the same way, across health, shopping, money, education and more.
Browse all BlueprintsBuild shared expense splitter.
Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.
Start today, for free