How vinn31-git/financial-tracker works
FinanceHub is a React personal-finance dashboard whose main workflow loads mock transactions, computes balances, and presents cards, charts, searchable transactions, and insights. Admin users can submit additions or deletions through the table/modal callbacks; changes update the dashboard’s in-memory state. Navigation also exposes About, Services, and Contact screens, with responsive navigation and theme selection. The README describes MockAPI integration and broader capabilities; sampled code implements a local delayed mock rather than a persistent backend. Connections below follow shown imports and calls; no external API service is asserted.
Main entry points: App.jsx FinanceHub shell · table.jsx Transaction table · mockApi.jsx Mock transaction API · main.jsx React entry
Components 12
Application shell
- React entry
my-finance-app/src/main.jsx - FinanceHub shell
my-finance-app/src/App.jsx
Finance dashboard
- Summary cards
my-finance-app/src/cards.jsx - Financial charts
my-finance-app/src/cards.jsx - Spending insights
my-finance-app/src/table.jsx
Transaction handling
- Transaction table
my-finance-app/src/table.jsx - Add transaction form
my-finance-app/src/admin.jsx - Mock transaction API
my-finance-app/src/mockApi.jsx
Informational pages
- About page
my-finance-app/src/elements.jsx - Services page
my-finance-app/src/elements.jsx - Contact page
my-finance-app/src/elements.jsx
Other components
- Dashboard user
Connections 16
- Dashboard user → React entry: opens app
my-finance-app/src/main.jsx - React entry → FinanceHub shell: renders
my-finance-app/src/main.jsx - Dashboard user → FinanceHub shell: selects views
my-finance-app/src/App.jsx - FinanceHub shell → Mock transaction API: loads transactions
my-finance-app/src/App.jsx - Mock transaction API → FinanceHub shell: returns records
my-finance-app/src/App.jsx - FinanceHub shell → Summary cards: renders
my-finance-app/src/App.jsx - FinanceHub shell → Financial charts: renders
my-finance-app/src/App.jsx - FinanceHub shell → Transaction table: renders
my-finance-app/src/App.jsx - FinanceHub shell → Spending insights: renders
my-finance-app/src/App.jsx - Transaction table → Add transaction form: opens
my-finance-app/src/table.jsx - Add transaction form → Transaction table: submits transaction
my-finance-app/src/admin.jsx - Transaction table → FinanceHub shell: invokes add/delete
my-finance-app/src/table.jsx - FinanceHub shell → Mock transaction API: adds or deletes
my-finance-app/src/App.jsx - FinanceHub shell → About page: renders
my-finance-app/src/App.jsx - FinanceHub shell → Services page: renders
my-finance-app/src/App.jsx - FinanceHub shell → Contact page: renders
my-finance-app/src/App.jsx