It allows users to create groups, add expenses, view transactions, add new group members, and efficiently split bills among group members.
- 1. Create Group: Create a new group by adding members.
- 2. Add Expense: Add expenses to the group, specifying the payer and the recipients.
- 3. View Transactions: View all the transactions made within the group.
- 4. Add New Group Member: Add a new member to an existing group.
- 4. Split Bill: Automatically split bills among group members based on their individual expenses and payments.
-
Clone this repository to your local machine:
git clone https://github.com/0xvikasrushi/splitwise-rust
-
Navigate to the project directory:
$ cd splitwise-rust
-
Compile the project:
$ cargo build
-
Run Sample Test
$ cargo test
Once the project is compiled, you can run the CLI using the following command:
cargo run
- Create Group: Allows you to create a new group by adding members.
- Add Expense: Add expenses to the group. Specify the payer and the recipients, along with the amount.
- View Transactions: View all the transactions made within the group.
- Add New Group Member: Add a new member to an existing group.
- Split Bill: Automatically split bills among group members based on their individual expenses and payments.
- Exit: Exit the CLI.