Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
202a9f3
imported browser router and wrapped App within it
Qiannnly Nov 4, 2023
3bfbd8c
added route paths for Home and Dasdboard
Qiannnly Nov 4, 2023
f086e34
installed mui and react router v6
Qiannnly Nov 4, 2023
8b8f7c6
installed mui and react router v6
Qiannnly Nov 4, 2023
efc1838
added input text and button elements
Qiannnly Nov 4, 2023
70365bd
added button element to navigate back to Home
Qiannnly Nov 4, 2023
c2becd3
added a timer component to render current date
Qiannnly Nov 4, 2023
11a24aa
added localstorage to save username
Qiannnly Nov 4, 2023
5f677dd
updated timer to display current date and time
Qiannnly Nov 4, 2023
e0eb890
updated greetings message
Qiannnly Nov 4, 2023
b00d556
added logic to hide and unhide form
Qiannnly Nov 4, 2023
c4c814e
imported Button component for use
Qiannnly Nov 4, 2023
78fd366
created todo list
Qiannnly Nov 5, 2023
663a323
updated delete functionality for todolist
Qiannnly Nov 5, 2023
eb7c042
passed in username as props
Qiannnly Nov 5, 2023
4fa09db
updated greeting
Qiannnly Nov 5, 2023
5c13a90
added conditions to reflect before and after trip form is created
Qiannnly Nov 6, 2023
40eaef1
updated form list
Qiannnly Nov 6, 2023
bfbf1f8
updated list
Qiannnly Nov 6, 2023
a81d5f8
added a created form
Qiannnly Nov 6, 2023
d78b7d2
created a list to add, delete and display transactions
Qiannnly Nov 6, 2023
f70dc54
added add and delete buttons for transactions
Qiannnly Nov 8, 2023
daedaca
added a function to sum up each payer contribution and push it into a…
Qiannnly Nov 8, 2023
189470e
added flex properties and background color
Qiannnly Nov 9, 2023
77580c2
updated component with mui and localStorage
Qiannnly Nov 9, 2023
70429ef
installed mui
Qiannnly Nov 9, 2023
6feb576
installed mui
Qiannnly Nov 9, 2023
1aecc6e
added mui styles
Qiannnly Nov 12, 2023
d2f685a
added mui styles
Qiannnly Nov 12, 2023
155a1d6
created a Form component to include CreateForm and AddTransactionsForm
Qiannnly Nov 12, 2023
b093d81
added this component to record all transactions
Qiannnly Nov 12, 2023
544abc2
added this component to calculate expenses and display message
Qiannnly Nov 12, 2023
69dbd2b
updated component to create a trip
Qiannnly Nov 12, 2023
4a42581
updated return statement with a Forms component that includes both Cr…
Qiannnly Nov 12, 2023
1bb3439
added mui styles
Qiannnly Nov 12, 2023
8df84f5
removed date object
Qiannnly Nov 12, 2023
65164bd
removed original styles and added new ones
Qiannnly Nov 12, 2023
a4bf5ff
updated routes
Qiannnly Nov 12, 2023
f52c75f
added item as another condition in handleSubmit function to prevent f…
Qiannnly Nov 12, 2023
630b835
added user story and how to use
Qiannnly Nov 14, 2023
faeed04
added wireframe
Qiannnly Nov 14, 2023
f2b730a
added inline styles to style header and footer
Qiannnly Nov 15, 2023
bd9f8f6
updated styles to center elements and also on background colors
Qiannnly Nov 17, 2023
64b617e
added div tags for logo and renamed classes
Qiannnly Nov 17, 2023
f7afd11
added css box to greeting
Qiannnly Nov 17, 2023
eb39a47
updated greetings with css classes
Qiannnly Nov 17, 2023
6445628
updated styling and conditional rendering
Qiannnly Nov 17, 2023
37aca03
updated styles and conditional rendering
Qiannnly Nov 17, 2023
43238aa
added two forms with states passed as props
Qiannnly Nov 17, 2023
3205ca8
updated styles and restructured code
Qiannnly Nov 17, 2023
6f2da17
updated styles and restructured code
Qiannnly Nov 17, 2023
bd2d1e0
added styles
Qiannnly Nov 17, 2023
63ff275
restructured coded, updated styles and lifted state up to addTransact…
Qiannnly Nov 17, 2023
2e31630
renamed function that converts array to object
Qiannnly Nov 17, 2023
837b511
updated height of form-wrapper
Qiannnly Nov 17, 2023
9038a00
updated user story and how to use
Qiannnly Nov 17, 2023
ac88c35
reduced top to 12%
Qiannnly Nov 17, 2023
d4f8bd7
updated styles
Qiannnly Nov 18, 2023
892dc2e
removed styles
Qiannnly Nov 18, 2023
04b6099
updated styles
Qiannnly Nov 18, 2023
0d7f3de
added Box element and updated styles
Qiannnly Nov 18, 2023
0eb46ae
edited header text
Qiannnly Nov 18, 2023
1d04b46
changed previous title document to bill-splitter
Qiannnly Nov 18, 2023
165a73c
updated userstory
Qiannnly Nov 18, 2023
7390ce4
add box-sizing
Qiannnly Nov 19, 2023
b8f6187
changed standard textfield to outlined textfield and added a border
Qiannnly Nov 19, 2023
0dde7bd
updated import location and some styles
Qiannnly Nov 19, 2023
86cf3d9
updated styles
Qiannnly Nov 19, 2023
22e889d
updated initial value of state property
Qiannnly Nov 19, 2023
8cc472c
added border colors to each textfield
Qiannnly Nov 19, 2023
d1bb513
added border colors to textfield and select elements
Qiannnly Nov 19, 2023
89c20fd
updated styles
Qiannnly Nov 19, 2023
97c96e8
updated user story and how to use paragraphs
Qiannnly Nov 19, 2023
3165ea8
added input validation for price
Qiannnly Nov 19, 2023
c60c232
removed older version of Calculate file
Qiannnly Nov 19, 2023
aa973f7
removed older version of List file
Qiannnly Nov 19, 2023
f63d667
removed older version of PriceDescriptionList file
Qiannnly Nov 19, 2023
81a9cc1
removed older version of Greetings file
Qiannnly Nov 19, 2023
58dba3f
removed older version of AddTransactionsForm file
Qiannnly Nov 19, 2023
a007571
removed older version of CreateForm file
Qiannnly Nov 19, 2023
eeb57b1
removed older version of Forms file
Qiannnly Nov 19, 2023
fe2be94
removed older version of Dashboard file
Qiannnly Nov 19, 2023
790b66b
committing latest changes
Qiannnly Nov 21, 2023
7d90793
updated latest changes
Qiannnly Nov 22, 2023
da4ab5c
added homepage and deploy scripts
Qiannnly Nov 22, 2023
820883c
added homepage and deploy scripts
Qiannnly Nov 22, 2023
5bf4f7a
removed one link tag
Qiannnly Nov 22, 2023
6d8ee51
changed route to billsplitter
Qiannnly Nov 22, 2023
56ca8cc
changed min to max and removed minus sign
Qiannnly Nov 22, 2023
bc4588f
updated icon logo
Qiannnly Nov 22, 2023
fd276e9
renamed icon
Qiannnly Nov 22, 2023
175fb90
made changes to min height
Qiannnly Nov 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,23 @@ Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great to also include install instructions!

The page will reload when you make changes.\
You may also see any lint errors in the console.

# User Story

This bill-splitting app is handy for those seeking to remove the hassle of dividing costs fairly with other contributors to an activity. This app is convenient when we dine out with friends, purchase gifts, or even share household expenditures like utilities, home maintenances, and cleaning with housemates. This can help avoid unnecessary disagreements when the bill splitting feature simplifies the process of dividing costs equally. Each activity created is only meant for that specific activity and contributors. Users will have to re-enter the activity name and contributors for a new activity.

# How to use

1. Enter a username and click on the arrow button.
2. Hit the Add Activity button to create a new activity.
3. Enter activity name and contributors involved in the activity.
4. Add and delete contributors whenever required. Then, click on Create an Activity button.
5. Enter the item, price and payer from the drop down selection to record transactions.
6. Add and delete transactions whenever required.
7. Hit the Split button to derive how much each person owes one another.
8. Hit the Home button to create a new activity.
9. After an activity is created, transactions of the activity will be retained when browser session is closed.

# Wireframe

https://www.figma.com/file/oMHth5a8YZe8xgdXRjtEdS/Equals?type=design&node-id=1-2&mode=design&t=u6hTR1s1sMhXVTEQ-0
Loading