GatorCash
Primary developer · team project
A student budgeting prototype with bill-aware allowances, purchase simulations, and confirmation-gated updates.
Skills & tools
- JSON Schema
- TypeScript
- JavaScript
- Node.js
- React
- Vite
- Base44
Overview
GatorCash is a student-focused budgeting prototype built with Base44. It calculates a weekly flexible-spending allowance from the user's balance, unpaid bills, emergency cushion, and remaining planning period. Upcoming obligations are reserved before the allowance is calculated, giving the user a spending figure that accounts for money already committed.
The conversational interface supports questions about the plan and hypothetical purchases. A purchase simulation shows how an expense would affect the weekly allowance without changing the saved balance. Requests to record income, expenses, or bill changes produce a preview for confirmation.
My contribution
This was a team project, and I handled nearly all of the implementation. I developed the budgeting logic and connected it to Base44's data entities and server functions. That work included the financial model, conversational request routing, and the pending-change workflow used to preview and confirm updates.
I separated the calculations into a shared JavaScript module so the same logic could support plan summaries and purchase simulations. I also added tests with Node.js's built-in test runner to check the arithmetic, bill-reservation rules, and calendar-date handling independently of the AI integration.
Technical work
Base44 stores plans, transactions, individual bill occurrences, and conversation messages. The server functions use the Base44 SDK to authenticate requests and retrieve the records needed for each operation.
The chat orchestrator calls Base44's LLM integration with a JSON Schema describing supported intents and their arguments. These include viewing a plan, simulating a purchase, proposing a transaction, and changing a bill. The resulting intent selects an application-controlled operation; shared JavaScript functions calculate the financial values returned in the response.
Proposed updates are stored as PendingChange records containing the requested action, projected results, and the plan's revision number. Confirmation checks that revision before applying the change. If the plan has changed since the preview, the function returns refreshed figures for review. Requests for an already-confirmed change return its stored result.
Challenges
Bill payments need careful accounting. An unpaid bill reduces flexible money through its reservation, while a recorded expense reduces the balance. When an expense is linked to a bill, the preview also marks that bill as paid so the same obligation is not deducted twice.
The financial module represents money in integer cents and rounds the weekly allowance down to a whole cent. It reports a shortfall separately when the balance cannot cover reserved bills and the cushion.
Calendar handling also affects the allowance. The remaining period is counted using calendar dates so daylight-saving transitions do not introduce an extra or missing day. Keeping these rules in deterministic functions makes their behavior testable without relying on a model-generated calculation.
Results and current state
The implementation includes a React frontend built with Vite, the financial calculation module, Base44 entity schemas, conversational orchestration, and confirmation-gated update functions. All five financial tests pass, covering bill reservations, shortfalls, non-mutating purchase simulations, daylight-saving date boundaries, and money formatting.
The hosted application provides a working fictional-data demo. Its purchase simulation previews the effect on the weekly allowance without changing the plan; recording an expense presents the projected balance and allowance before confirmation. The portfolio video captures those interactions in the demo, whose request handling is rule-based and separate from the server's LLM integration.