How karthees-m/expense-tracker works
This is a React expense-tracking app. A user signs in, then the app loads their Firestore transactions and presents a dashboard plus transaction, category, budget, calendar, and settings views. Users can add, edit, and delete records; budgets are saved locally. The graph emphasizes the app-level orchestration and distinct product views. Some view implementations were not sampled, so their internal behavior and links are omitted; documented capabilities are retained where evidence permits.
Main entry points: App.jsx App Orchestrator · AddExpenseModal.jsx Add Transaction · Transactions.jsx Transaction Manager · Budgets.jsx Budgets
Components 15
App Shell & Access
- App Orchestrator
src/App.jsx - Sign-in View
src/components/LoginPage/LoginPage.jsx - Sidebar Navigation
src/components/Sidebar/Sidebar.jsx - Firebase Setup
src/firebase.js - Firebase Auth
Expense Records
- Firestore
- Add Transaction
src/components/AddModal/AddExpenseModal.jsx - Transaction Manager
src/pages/Transactions/Transactions.jsx - Category Manager
src/pages/Categories/Categories.jsx
Spending Views
- Dashboard
src/pages/Dashboard/Dashboard.jsx - Budgets
src/pages/Budgets/Budgets.jsx - Expense Calendar
src/pages/Calendar/ExpenseCalendar.jsx
Personalization
- Settings
src/pages/Settings/Settings.jsx - Browser Storage
Other components
- User
Connections 26
- User → App Orchestrator: uses
- App Orchestrator → Sign-in View: renders
src/App.jsx - User → Sign-in View: chooses sign-in
src/components/LoginPage/LoginPage.jsx - App Orchestrator → Firebase Setup: uses auth
src/App.jsx - App Orchestrator → Firebase Auth: authenticates
src/App.jsx - Firebase Setup → Firebase Auth: configures
src/firebase.js - App Orchestrator → Firestore: loads transactions
src/App.jsx - App Orchestrator → Firestore: loads categories
src/App.jsx - App Orchestrator → Sidebar Navigation: renders
src/App.jsx - User → Sidebar Navigation: selects view
src/components/Sidebar/Sidebar.jsx - App Orchestrator → Dashboard: renders
src/App.jsx - App Orchestrator → Transaction Manager: renders
src/App.jsx - App Orchestrator → Category Manager: renders
src/App.jsx - App Orchestrator → Budgets: renders
src/App.jsx - App Orchestrator → Expense Calendar: renders
src/App.jsx - App Orchestrator → Settings: renders
src/App.jsx - App Orchestrator → Add Transaction: renders
src/App.jsx - User → Add Transaction: enters transaction
src/components/AddModal/AddExpenseModal.jsx - Add Transaction → Firestore: adds record
src/components/AddModal/AddExpenseModal.jsx - Transaction Manager → Firestore: edits or deletes
src/pages/Transactions/Transactions.jsx - Category Manager → Firestore: saves categories
src/pages/Categories/Categories.jsx - App Orchestrator → Budgets: passes expenses
src/App.jsx - Budgets → Browser Storage: saves budgets
src/pages/Budgets/Budgets.jsx - App Orchestrator → Expense Calendar: passes transactions
src/App.jsx - Settings → Firebase Auth: updates profile
src/pages/Settings/Settings.jsx - User → Transaction Manager: manages records
src/pages/Transactions/Transactions.jsx