How harmangit94/money-habits works
Money Habits is a personal-budgeting product with web and mobile clients. In the web workflow, a user opens the dashboard; the app checks the Supabase session, loads budget data into client state, and renders dashboard or account, card, bill, income, expense, and settings views. Bill actions can update budget state, and marking a linked bill paid creates an expense. The mobile tree exposes corresponding finance tabs and a local-persisted store. The README is empty; mobile screen-to-store wiring is not established by the sampled evidence.
Main entry points: page.tsx Web dashboard shell · store.ts Web budget store · supabase.ts Web Supabase client · BillCard.tsx Bill manager
Components 20
Web application
- Web dashboard shell
apps/web/app/page.tsx - Web sign-in
apps/web/app/auth/page.tsx - Auth callback
apps/web/app/auth/callback/route.ts - Dashboard summary
apps/web/components/DashboardSummary.tsx - Spending chart
apps/web/components/SpendingPieChart.tsx - Account manager
apps/web/components/AccountsPanel.tsx - Credit cards
apps/web/components/CreditCardWidget.tsx - Bill manager
apps/web/components/BillCard.tsx - Bill editor
apps/web/components/BillForm.tsx - Income summary
apps/web/components/IncomeSummary.tsx - Transactions list
apps/web/components/TransactionsList.tsx - Budget settings
apps/web/components/Settings.tsx
Mobile application
- Mobile finance tabs
apps/mobile/app/(tabs) - Mobile sign-in
apps/mobile/app/auth.tsx
Budget state
- Web budget store
apps/web/lib/store.ts - Mobile budget store
apps/mobile/lib/store.ts
Identity and data
- Supabase data service
- Web Supabase client
apps/web/lib/supabase.ts - Mobile Supabase client
apps/mobile/lib/supabase.ts
Other components
- Budget user
Connections 25
- Budget user → Web dashboard shell: opens
apps/web/app/page.tsx - Web dashboard shell → Web budget store: loads session data
apps/web/app/page.tsx - Web dashboard shell → Web Supabase client: checks session
apps/web/app/page.tsx - Web dashboard shell → Dashboard summary: renders
apps/web/app/page.tsx - Web dashboard shell → Credit cards: renders
apps/web/app/page.tsx - Web dashboard shell → Account manager: renders
apps/web/app/page.tsx - Web dashboard shell → Bill manager: renders
apps/web/app/page.tsx - Web dashboard shell → Income summary: renders
apps/web/app/page.tsx - Web dashboard shell → Transactions list: renders
apps/web/app/page.tsx - Web dashboard shell → Budget settings: renders
apps/web/app/page.tsx - Dashboard summary → Spending chart: renders
apps/web/components/DashboardSummary.tsx - Bill manager → Bill editor: renders
apps/web/components/BillCard.tsx - Web budget store → Web Supabase client: queries and updates
apps/web/lib/store.ts - Web Supabase client → Supabase data service: connects
apps/web/lib/supabase.ts - Web sign-in → Web Supabase client: authenticates
- Budget user → Web sign-in: signs in
- Budget user → Auth callback: returns from auth
apps/web/app/auth/callback/route.ts - Auth callback → Supabase data service: exchanges session
apps/web/app/auth/callback/route.ts - Bill manager → Web budget store: marks paid or removes
apps/web/components/BillCard.tsx - Web budget store → Web budget store: creates linked expense
apps/web/lib/store.ts - Budget user → Mobile finance tabs: uses
- Budget user → Mobile sign-in: signs in
- Mobile finance tabs → Mobile budget store: reads and updates
- Mobile budget store → Mobile Supabase client: queries and updates
apps/mobile/lib/store.ts - Mobile Supabase client → Supabase data service: connects
apps/mobile/lib/supabase.ts