I wasn't sure what I wanted to build at first. After sitting in at Softheon's techtalks on Friday night, I wanted to try to use their Payment API and Enterprise API to create something. I thought about creating an e-commerce site but that would be just plain and that's when I thought of adding a twist to it -- linking a budget limit to your credit card so people who can't manage their money won't be able to overspend.
What it does
User logs in to their account and links a credit card as well as setting a budget for themselves. Users will not be able to spend past the budget limit they set on themselves. Users are able to get a list of purchase history to analyze for themselves how they can choose to budget themselves for future spendings.
How I built it
I set up a nodejs express server. Afterwards, I added babel and react to my project as well as used the Flux architecture. I created a quick template so I would be able to test Softheon's API early on. After lots of debugging on the server and trying to hit Softheon's endpoints, I polished up the site a bit.
Challenges I ran into
Accomplishments that I'm proud of
Being able to set up my own Reactjs universal app.
What I learned
Learning how to use actual callbacks instead of relying on promises.
What's next for Budgetize
Add an actual way for users to create accounts. Add a timer to your budget limit (maybe set a budget every month?) as well as an analysis of user spending and savings over that period of time. Turning this into a library so other e-commerce sites can use what I made or actually expanding on this e-commerce website itself by adding more items (add filtering, searching, etc for items)
Testing Budgetize out
Go to http://188.8.131.52/
Login with credentials
Go to profile and enter in following credentials
everything else: fields that don't look too fake
Click on purchase and buy whatever you want.
Click on purchase history and press update data to get a list of updated data.