FinFlow
Where did this month’s money actually go?
Personal finance dashboard: income against spending, a category breakdown, and every transaction searchable and exportable, with admin and viewer roles.
- What it is
- Personal project
- My role
- Built solo
- Year
- 2025
- Status
- Live
- Try it
- Live site
- React
- TypeScript
- Recharts
- Tailwind CSS
- Vite
The problem
Bank statements list transactions but don’t show where the money goes, month after month.
How I solved it
- All money maths lives in pure functions, separate from the screens, so every chart and total agrees.
- Two roles: admins can edit, viewers can only read.
System design
- React, TypeScript, Vite and Tailwind CSS.
- State and roles through useReducer and Context.
- Pure utility functions for every calculation, exposed through memoised hooks.
- Recharts for the six-month trend and category donut; paginated table with search, filters, sorting and CSV export.
Trade-offs
- useReducer and Context over a state library: no extra dependency at this size. Cost: needs memoisation to avoid re-renders as state grows.
- Pure calculation functions over logic inside components: easy to test, totals always consistent. Cost: more files and one more layer to follow.