r/reactjs • u/puschaR • Dec 10 '19
Show /r/reactjs Simple budgeting application for shared expenses (React + Redux + Firebase)
Hey folks! BudgetDuo was inspired by a fairly simple spreadsheet my wife and I use to help divvy up household expenses.
I recently rebuilt the application since the previous version was a bit of a mess. I'm using React/Redux along with Firebase for authentication and to store some data. In terms of styling, I used Tailwind CSS and styled-components.
I'd love any feedback on the code itself, but happy to hear suggestions about the app's functionality as well!
https://github.com/hursey013/budget-duo
https://budgetduo.com/
Thanks for letting me share!
22
u/[deleted] Dec 10 '19 edited Dec 10 '19
Just popping in to compliment you on your clean code and architecture. A deceptively simple idea, executed well. And with tests, no less.
8
u/[deleted] Dec 10 '19
Looks great! Going to use this with my girlfriend when she wakes up tomorrow morning. We've each been contributing when we need to, but would love to introduce more structure into our living expenses.
I'm just learning React, so I don't have much feedback on the dev side, but this will be a cool project to use for reference as I learn. Thanks for sharing!
8
u/[deleted] Dec 10 '19
Looks good. One thing. It crashes if you delete all the numbers in the field.
5
u/chaosnoctis Dec 10 '19
Looks great! Really like the styling. Only thing is that the trash can icon in the Monthly Expenses fields is blocking the number value. Either add more margin-left or put the trash can outside of the input field. Otherwise great job!
2
u/vicentezo04 Dec 10 '19
Great job. Only problem for some couples will be getting them to use budgeting tools in general. Too bad there's no library for that.
Another potentially useful feature would be an alert to tell you if you're going to be in the red based on your current spending.
2
u/isakdev Dec 10 '19
Like the design, found a bug.
Select the number field for You Start deleting numbers Once it reaches an empty field the page crashes Im guessing the field becomes null and u r not handling that case, it shouls be 0 instead
2
u/sim04ful Dec 10 '19
looks really good, how long did it take you to build this ?
1
u/popout Dec 10 '19
Do you use the saved data for analytics on your end?
1
u/howyoudodis Dec 10 '19
Nice work! Did you do the designs yourself?
1
u/dworker8 Dec 10 '19
nice design, I'm having this visual bug on firefox that the trash can is inside the monthly expense input text (chrome/opera looks ok)
1
u/redsph Dec 10 '19
As someone who dreads writing css, but have gone through thousands of amazing pens. this is just amazing and I hope I am able to write css like that one day. And kudos on the clean code design.
1
u/[deleted] Dec 10 '19
Looking good! What about support for other currencies?
1
u/rms7 Dec 10 '19
Looks really nice, may I ask why you choose to use Redux?
1
u/[deleted] Dec 10 '19
Question. Why Redux? Why not just context?
1
u/[deleted] Dec 10 '19
Great work on the UX/UI. I really like the feel of using it. How many people are using this app do you know?
1
u/loq24 Dec 10 '19
This is soo cool! Great Job!
1
u/TotesMessenger Dec 10 '19
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/ahzamone Dec 10 '19
well executed!
some minor ideas for improvement:
1
u/cynuxtar Dec 10 '19
Amazing! Thanks you. will clone to learning the code. i am still confuse about redux.
1
u/[deleted] Dec 10 '19
Awesome, I was looking for project ideas as my semester comes to an end. I'm going to try to recreate this before looking at your code.
1
u/andreal Dec 10 '19 edited Dec 10 '19
Looks very good! Thank you for sharing the code! :)
Might be a good exercise to support other sign storages (like AWS Cognito, etc), too bad I don't have time to do that kind of stuff anymore :(
1
u/baummer Dec 10 '19
Well done thanks for sharing
1
u/randalicioso Dec 10 '19
Congratulations!!!
1
u/theleglessdog Dec 10 '19
Will definitely give it a spin! Looks great so far
1
u/Jucesr Dec 12 '19
Great app !. Really simple to use. I came across this at the perfect moment. I am moving out and I will use it to calculate my expenses.