How vikiviki13/owezy_v1 works
Owezy is a mobile-first personal expense and repayment tracker. A user signs in, enters the private app, records expenses and repayments with friends, and reviews balances, activity, and statements; settings provide exports and security controls. The local calculation engine updates the UI immediately, while account data syncs through a per-user cloud document. The graph preserves documented capabilities, but sampled source was incomplete, so some feature-to-storage links rely on README documentation rather than inspected implementation.
Main entry points: App.tsx App routing · securityService.ts Security service · Auth.tsx Account sign-in · AddExpense.tsx Expense entry
Components 21
App and accounts
- App routing
src/App.tsx - Account sign-in
src/pages/Auth.tsx - Onboarding
src/pages/Onboarding.tsx
Expense ledger
- Friends and groups
src/pages/Friends.tsx - Expense entry
src/pages/AddExpense.tsx - Repayment entry
src/pages/RecordRepayment.tsx - Contact import
src/pages/ContactImport.tsx
Views and exports
- Dashboard
src/pages/Home.tsx - Activity and ledger
src/pages/Activity.tsx - Statements and reports
src/pages/Statement.tsx - Data exports
src/pages/settings/AccountSettingsPages.tsx
Data and sync
- Expense data engine
src/lib/db.ts - Cloud data setup
src/lib/cloudData.ts - Sync manager
src/services/sync/syncManager.ts - Supabase services
src/lib/supabase.ts
Security and settings
- Preferences and settings
src/pages/settings/PreferencePages.tsx - Security controls
src/pages/settings/SecurityPages.tsx - Security service
src/lib/securityService.ts - Security endpoint
supabase/functions/security/index.ts
Other components
- User
- Device authenticator
Connections 22
- User → App routing: opens
README.md - App routing → Account sign-in: routes to
src/App.tsx - User → Account sign-in: signs in
README.md - Account sign-in → Supabase services: authenticates with
README.md - App routing → Cloud data setup: initializes data
src/App.tsx - User → Onboarding: sets up account
README.md - User → Expense entry: records expense
README.md - User → Repayment entry: records repayment
README.md - User → Friends and groups: manages friends
README.md - User → Contact import: imports contacts
README.md - Expense entry → Expense data engine: writes locally
src/pages/AddExpense.tsx - User → Dashboard: reviews totals
README.md - User → Activity and ledger: reviews activity
README.md - User → Statements and reports: views statements
README.md - User → Data exports: exports data
README.md - Expense data engine → Sync manager: queues changes
src/lib/db.ts - Sync manager → Supabase services: syncs document
README.md - User → Preferences and settings: changes preferences
README.md - User → Security controls: manages protection
README.md - Security controls → Security service: requests security actions
src/pages/settings/SecurityPages.tsx - Security service → Security endpoint: invokes endpoint
src/lib/securityService.ts - Security service → Device authenticator: starts authentication
src/lib/securityService.ts