How lokeshmuruganandham/mintio works
MoneyFlow is a personal finance tracker. A user signs in, enters the authenticated app, and navigates between an overview, expense entry and history, investment and trading trackers, and account/profile management. The shared expense hook manages finance records and analytics through the Supabase client; authentication is handled separately through the same client. The tree and excerpts support these main paths, but several tracker internals and Supabase schema behavior were not sampled, so those details are not expanded.
Main entry points: useExpenses.ts Finance state · Index.tsx Home route · AuthContext.tsx Auth context · App.tsx App shell
Components 17
Application flow
- App shell
src/App.tsx - Home route
src/pages/Index.tsx
Identity
- Sign-in page
src/pages/Auth.tsx - Auth context
src/contexts/AuthContext.tsx
Finance features
- Dashboard
src/components/Dashboard.tsx - Expense entry
src/components/ExpenseForm.tsx - Expense history
src/components/ExpenseHistory.tsx - Investment tracker
src/components/InvestmentTracker.tsx - Intraday tracker
src/components/IntradayTracker.tsx - Profile manager
src/components/ProfileManager.tsx - Bank accounts
src/components/BankAccountManager.tsx - Transaction history
src/components/TransactionHistory.tsx
Data access
- Finance state
src/hooks/useExpenses.ts - Finance models
src/types/expense.ts - Supabase client
src/integrations/supabase/client.ts
Other components
- User
- Supabase
Connections 24
- User → App shell: opens
- App shell → Home route: routes to
src/App.tsx - App shell → Sign-in page: routes to
src/App.tsx - Home route → Auth context: checks session
src/pages/Index.tsx - Sign-in page → Auth context: submits credentials
src/pages/Auth.tsx - Auth context → Supabase client: uses
src/contexts/AuthContext.tsx - Supabase client → Supabase: connects
src/integrations/supabase/client.ts - Home route → Dashboard: renders
src/pages/Index.tsx - Home route → Expense entry: renders
src/pages/Index.tsx - Home route → Investment tracker: renders
src/pages/Index.tsx - Home route → Intraday tracker: renders
src/pages/Index.tsx - Home route → Expense history: renders
src/pages/Index.tsx - Home route → Profile manager: renders
src/pages/Index.tsx - Dashboard → Finance state: reads
src/components/Dashboard.tsx - Expense entry → Finance state: updates
src/components/ExpenseForm.tsx - Expense history → Finance state: reads
src/components/ExpenseHistory.tsx - Investment tracker → Finance state: updates
src/components/InvestmentTracker.tsx - Intraday tracker → Finance state: updates
src/components/IntradayTracker.tsx - Profile manager → Finance state: manages accounts
src/components/ProfileManager.tsx - Profile manager → Auth context: reads user
src/components/ProfileManager.tsx - Bank accounts → Finance state: manages accounts
src/components/BankAccountManager.tsx - Finance state → Auth context: reads user
src/hooks/useExpenses.ts - Finance state → Supabase client: reads and writes
src/hooks/useExpenses.ts - Finance state → Finance models: uses models
src/hooks/useExpenses.ts