How passionchips/vise works
VISE is an offline-first monthly budgeting app: users set up preferences and budgets, record or import transactions, then review summaries, warnings, reports, and spending predictions. The React Native screens call a typed client, which forwards requests through the Expo native bridge to Rust; Rust validates and coordinates repository and calculation work over local SQLite. The README documents this layer flow. Some route and feature implementations were not sampled, so their internal connections are shown only where documented; optional integrations are not inferred.
Main entry points: viseCore.ts Typed API client · transactions.tsx Transactions · repository Data repositories · service.rs Validation and use cases
Components 20
App experience
- Onboarding
vise-app/src/features/onboarding - Dashboard
vise-app/app/(tabs)/index.tsx - Transactions
vise-app/app/(tabs)/transactions.tsx - Transaction form
vise-app/app/add-transaction.tsx - Budgets
vise-app/app/(tabs)/budgets.tsx - Budget form
vise-app/app/budget-form.tsx - Reports
vise-app/app/(tabs)/reports.tsx - Settings
vise-app/app/(tabs)/settings.tsx
Client and bridge
- Typed API client
vise-app/src/services/viseCore.ts - Query and refresh
vise-app/src/data/store.ts - Native bridge
vise-app/modules/vise-core
Rust domain
- CSV import
vise-app/rust-core/src/parser/import_csv.rs - JSON dispatch
vise-app/rust-core/src/api.rs - Validation and use cases
vise-app/rust-core/src/service.rs - Budget analytics
vise-app/rust-core/src/calculations
Local persistence
- Data repositories
vise-app/rust-core/src/repository - Models and schema
vise-app/rust-core/src/db/schema.rs - SQLite connection
vise-app/rust-core/src/db/connection.rs - Device SQLite
Other components
- Budget user
Connections 26
- Budget user → Onboarding: sets up
- Budget user → Dashboard: reviews finances
- Budget user → Transactions: manages entries
- Budget user → Budgets: sets limits
- Budget user → Reports: views reports
- Budget user → Settings: manages settings
- Transactions → Transaction form: opens form
vise-app/app/(tabs)/transactions.tsx - Budgets → Budget form: opens form
- Dashboard → Query and refresh: loads data
vise-app/app/(tabs)/index.tsx - Transactions → Query and refresh: loads data
vise-app/app/(tabs)/transactions.tsx - Transactions → Typed API client: requests changes
vise-app/app/(tabs)/transactions.tsx - Transaction form → Typed API client: submits transaction
vise-app/app/add-transaction.tsx - Budget form → Typed API client: saves budget
vise-app/app/budget-form.tsx - Settings → Typed API client: reads and saves
vise-app/app/(tabs)/settings.tsx - Onboarding → Typed API client: saves setup
- Reports → Typed API client: requests reports
- Typed API client → Native bridge: forwards calls
vise-app/src/services/viseCore.ts - Typed API client → Query and refresh: invalidates after writes
vise-app/src/services/viseCore.ts - Native bridge → JSON dispatch: dispatches request
- JSON dispatch → Validation and use cases: calls use cases
- Validation and use cases → Data repositories: loads and saves
vise-app/rust-core/src/service.rs - Validation and use cases → Budget analytics: computes results
vise-app/rust-core/src/service.rs - Data repositories → Models and schema: queries mapped rows
vise-app/rust-core/src/repository/transaction_repository.rs - Data repositories → SQLite connection: uses connection
vise-app/rust-core/src/repository/transaction_repository.rs - SQLite connection → Device SQLite: opens and migrates
vise-app/rust-core/src/db/connection.rs - CSV import → Data repositories: imports transactions