A client-side financial planning application that simulates financial flows over time.
bun install
bun run devThe app uses a unified Financial Items page at /financial-items that consolidates all financial item types into grouped category sections:
- Accounts - Savings and Checking accounts
- Income - Recurring income sources
- Expenses - Recurring expenses
- Mortgages - Loan and mortgage information
Each category displays items as cards with inline edit capabilities. Adding/editing items opens a Sheet panel from the right side, keeping context visible.
src/routes/financial-items/index.tsx- Unified financial items pagesrc/components/financial-items/CategorySection.tsx- Reusable category section with gradient headersrc/components/financial-items/FinancialItemCard.tsx- Card display for any financial item typesrc/components/financial-items/FinancialItemSheet.tsx- Sheet wrapper for add/edit forms
The Dashboard (/) displays a 30-year simulation chart showing account balances over time. Financial items are converted to internal accounts and flows for simulation.
Uses TanStack React DB with localStorage persistence. All financial items are stored in the financialItemsCollection.
- Runtime: Bun
- Framework: React 19 with TypeScript
- Routing: TanStack Router (file-based)
- State: TanStack React DB (localStorage)
- Styling: Tailwind CSS v4 with Radix UI
- Build: Vite