How go-obito/largent works
This is an Expo personal-finance app for recording income and expenses, setting budgets, reviewing spending, and importing CSV transactions. The principal workflow runs from a user action in a screen or form through a Zustand store to locally persisted finance records; dashboard and report screens derive summaries from those records. CSV import has a separate parsing/API stage. The tree and excerpts support these main paths, but do not establish how cloud-finance is invoked or connected to a remote service.
Main entry points: transactions.ts Transaction store · index.tsx Dashboard · budgets.ts Budget store · currency.ts Currency utilities
Components 23
App experience
- Onboarding and auth
src/app/(auth)/onboarding.tsx - Dashboard
src/app/(tabs)/index.tsx - Transaction form
src/components/transactions/transaction-form.tsx - Budget form
src/components/budgets/budget-form.tsx - Transaction screens
src/app/(tabs)/transactions.tsx - Budget screens
src/app/(tabs)/budgets.tsx
Finance records
- Transaction store
src/store/transactions.ts - Budget store
src/store/budgets.ts - Needs store
src/store/needs.ts - Finance operations
src/store/finance-operations.ts - Needs operations
src/store/needs-operations.ts - Local persistence
- Currency utilities
src/lib/currency.ts - Categories
src/data/categories.ts - Finance types
src/types/finance.ts - Cloud finance integration
src/lib/cloud-finance.ts - Supabase client
src/lib/supabase.ts
Spending insights
- Reports
src/app/(tabs)/reports.tsx - Finance calculations
src/lib/finance.ts
CSV import
- Import screen
src/app/import.tsx - CSV import API
src/app/api/import-csv+api.ts - CSV parser
src/lib/csv.ts
Other components
- User
Connections 28
- User → Onboarding and auth: starts onboarding
src/app/(auth)/onboarding.tsx - User → Dashboard: opens app
src/app/(tabs)/index.tsx - Dashboard → Transaction form: opens entry
src/app/(tabs)/index.tsx - Transaction form → Currency utilities: parses amount
src/components/transactions/transaction-form.tsx - Transaction form → Transaction store: adds or edits
src/components/transactions/transaction-form.tsx - Transaction store → Finance operations: validates and updates
src/store/transactions.ts - Budget form → Currency utilities: parses limit
src/components/budgets/budget-form.tsx - Budget form → Budget store: adds or edits
src/components/budgets/budget-form.tsx - Budget store → Finance operations: validates and updates
src/store/budgets.ts - Transaction store → Local persistence: persists records
src/store/transactions.ts - Budget store → Local persistence: persists records
src/store/budgets.ts - Needs store → Needs operations: delegates updates
src/store/needs.ts - Dashboard → Transaction store: reads transactions
src/app/(tabs)/index.tsx - Dashboard → Budget store: reads budgets
src/app/(tabs)/index.tsx - Dashboard → Needs store: reads and updates needs
src/app/(tabs)/index.tsx - Dashboard → Finance calculations: calculates spending
src/app/(tabs)/index.tsx - Budget screens → Budget store: reads budgets
src/app/(tabs)/budgets.tsx - Budget screens → Transaction store: reads transactions
src/app/(tabs)/budgets.tsx - Budget screens → Finance calculations: calculates spend
src/app/(tabs)/budgets.tsx - Transaction screens → Transaction store: reads transactions
- Reports → Transaction store: reads transactions
src/app/(tabs)/reports.tsx - Reports → Finance calculations: builds summaries
src/app/(tabs)/reports.tsx - Import screen → Currency utilities: parses amounts
src/app/import.tsx - Import screen → Transaction store: saves imported records
src/app/import.tsx - Import screen → CSV import API: requests CSV parsing
README.md - CSV import API → CSV parser: parses CSV
src/app/api/import-csv+api.ts - CSV import API → Currency utilities: parses amounts
src/app/api/import-csv+api.ts - Cloud finance integration → Supabase client: uses client
src/lib/cloud-finance.ts