Daily Expenses Sharing Application
Objective:
Design and implement a backend for a daily-expenses sharing application. This
application will allow users to add expenses and split them based on three
different methods: exact amounts, percentages, and equal splits. The
application should manage user details, validate inputs, and generate
downloadable balance sheets.
Requirements:
User Management:
✓ Each user should have an email, name, and mobile number.
Expense Management:
✓ Users can add expenses.
Expenses can be split using three methods:
1. Equal: Split equally among all participants.
2. Exact: Specify the exact amount each participant owes.
3. Percentage: Specify the percentage each participant owes. (Ensure
percentages add up to 100%).
Expense Calculation Examples:
1. Equal:
Scenario: You go out with 3 friends. The total bill is 3000. Each friend owes
1000.
2. Exact:
Scenario: You go shopping with 2 friends and pay 4299. Friend 1 owes 799,
Friend 2 owes 2000 | A shadcn/ui and v0 generation - v0