Friends Expense Splitter is a simple React application that helps users manage and split expenses with friends. It allows users to add friends, keep track of who owes whom, and split bills easily.
- Add and display a list of friends
- Select a friend to view balance details
- Split a bill between the user and a selected friend
- Keep track of outstanding balances
- React (useState hook for state management)
- JavaScript (ES6+ features)
- HTML & CSS
The main component that manages state and renders the different parts of the application.
- Stores friends list
- Toggles the add friend form
- Handles friend selection and bill splitting
A reusable button component that simplifies button rendering across the application.
Displays the list of friends and allows the user to select a friend.
Represents an individual friend, displaying their name, profile picture, and balance status.
A form to add new friends by entering their name and profile picture URL.
A form to split a bill with the selected friend, allowing the user to specify the bill amount and who is paying.
- Start the application.
- Click "Add Friend" to add a new friend.
- Select a friend from the list to view their balance.
- Use the "Split Bill" form to divide expenses.
- Clone the repository.
- Install dependencies:
npm install
- Start the application:
npm start

