How jeevaofficial1905-lgtm/personal-finance-tracker works
WealthTrack is a personal-finance web app: users sign in, manage financial records, and review dashboard summaries and reports. The app shell owns authentication, tab selection, Firestore profile setup, and live collection subscriptions; feature views handle record-specific actions, with some writes performed directly by the shell. Firebase supplies auth and persistence. The graph preserves the listed finance capabilities; source evidence for several views is limited to imports or their inclusion in App, so no unshown data-flow edges are inferred.
Main entry points: App.tsx App and auth · TransactionList.tsx Transactions · utils.ts Formatting utilities · Dashboard.tsx Dashboard reports
Components 18
Application shell
- React entry
src/main.tsx - Error boundary
src/components/ErrorBoundary.tsx - App and auth
src/App.tsx - Navigation layout
src/components/Layout.tsx
Finance views
- Dashboard reports
src/components/Dashboard.tsx - Budget tracking
src/components/BudgetTracker.tsx - Debt and loans
src/components/DebtTracker.tsx - Owed and receivable
src/components/CreditorTracker.tsx - Transactions
src/components/TransactionList.tsx - Income and expenses
src/components/IncomeExpenseManager.tsx - Investments
src/components/InvestmentTracker.tsx - Calculator
src/components/Calculator.tsx
Firebase platform
- Firebase client
src/lib/firebase.ts - Cloud Firestore
- Firebase Auth
Shared presentation
- Finance types
src/types.ts - Formatting utilities
src/lib/utils.ts
Other components
- User
Connections 27
- User → React entry: opens app
src/main.tsx - React entry → Error boundary: renders within
src/main.tsx - Error boundary → App and auth: renders
src/main.tsx - App and auth → Firebase client: auth and reads
src/App.tsx - Firebase client → Firebase Auth: initializes
src/lib/firebase.ts - Firebase client → Cloud Firestore: initializes
src/lib/firebase.ts - App and auth → Cloud Firestore: reads and writes
src/App.tsx - App and auth → Navigation layout: renders
src/App.tsx - App and auth → Dashboard reports: renders
src/App.tsx - App and auth → Budget tracking: renders
src/App.tsx - App and auth → Debt and loans: renders
src/App.tsx - App and auth → Owed and receivable: renders
src/App.tsx - App and auth → Transactions: renders
src/App.tsx - App and auth → Income and expenses: renders
src/App.tsx - App and auth → Investments: renders
src/App.tsx - Navigation layout → Calculator: displays
src/components/Layout.tsx - Transactions → Cloud Firestore: creates and deletes
src/components/TransactionList.tsx - Budget tracking → Cloud Firestore: creates and deletes
src/components/BudgetTracker.tsx - Debt and loans → Cloud Firestore: updates records
src/components/DebtTracker.tsx - Owed and receivable → Cloud Firestore: writes records
src/components/CreditorTracker.tsx - Dashboard reports → Formatting utilities: formats values
src/components/Dashboard.tsx - Income and expenses → Formatting utilities: formats values
src/components/IncomeExpenseManager.tsx - Transactions → Formatting utilities: formats values
src/components/TransactionList.tsx - Debt and loans → Formatting utilities: formats dates
src/components/DebtTracker.tsx - App and auth → Finance types: uses models
src/App.tsx - Dashboard reports → Finance types: uses models
src/components/Dashboard.tsx - Transactions → Finance types: uses models
src/components/TransactionList.tsx