How sito8943/sito-wallet works
Sito Wallet is a personal-finance web app. Users authenticate, enter a routed finance workspace, and manage accounts, transactions, currencies, debts, subscriptions, and dashboards; query hooks retrieve data through a centralized API manager. The README documents these major capabilities, while the route source confirms feature-gated pages and admin-only users. The graph emphasizes those stages and session/cache support. Several domain views and API clients are represented from the tree and README rather than inspected excerpts, so their internal call links are omitted.
Main entry points: Routes.tsx Route dispatch · App.tsx App bootstrap · useAppSession.tsx Session bootstrap · Manager.ts API manager
Components 22
App entry
- App bootstrap
src/App.tsx - Route dispatch
src/Routes.tsx
Finance workspace
- Authentication
src/views/Auth - Dashboard
src/views/Home - Accounts
src/views/Accounts - Transactions
src/views/Transactions - Categories
src/views/TransactionCategories - Currencies
src/views/Currencies - Debts
src/views/Debts - Subscriptions
src/views/Subscriptions - Subscription providers
src/views/SubscriptionProviders - Notifications
src/providers/Notifications/NotificationsProvider.tsx - Profile
src/views/Profile - User administration
src/views/Users
Data access
- Query hooks
src/hooks/queries - API manager
src/lib/api/Manager.ts - Finance API clients
src/lib/api
Session runtime
- Session bootstrap
src/hooks/useAppSession.tsx - Feature flags
src/providers/FeatureFlags/FeatureFlagsProvider.tsx - Persisted query cache
src/providers/QueryPersistence/QueryPersistenceProvider.tsx
Other components
- User
- Finance API
Connections 22
- User → App bootstrap: opens
- App bootstrap → Session bootstrap: bootstraps
src/App.tsx - App bootstrap → Route dispatch: renders
src/App.tsx - Route dispatch → Authentication: routes auth
src/Routes.tsx - Route dispatch → Dashboard: routes home
src/Routes.tsx - Route dispatch → Accounts: routes accounts
src/Routes.tsx - Route dispatch → Transactions: routes transactions
src/Routes.tsx - Route dispatch → Categories: routes categories
src/Routes.tsx - Route dispatch → Currencies: routes currencies
src/Routes.tsx - Route dispatch → Debts: routes debts
src/Routes.tsx - Route dispatch → Subscriptions: routes subscriptions
src/Routes.tsx - Route dispatch → Subscription providers: routes providers
src/Routes.tsx - Route dispatch → Notifications: routes notifications
src/Routes.tsx - Route dispatch → Profile: routes profile
src/Routes.tsx - Route dispatch → User administration: guards admin
src/Routes.tsx - Session bootstrap → API manager: loads session
src/hooks/useAppSession.tsx - Session bootstrap → Feature flags: clears flags
src/hooks/useAppSession.tsx - Route dispatch → Feature flags: checks access
src/Routes.tsx - Query hooks → API manager: requests data
src/hooks/queries/useTransactionCategoryAverage.tsx - API manager → Finance API clients: provides clients
src/lib/api/Manager.ts - Finance API clients → Finance API: calls API
- Persisted query cache → User: scopes cache
src/providers/QueryPersistence/QueryPersistenceProvider.tsx