How sivabala-sba/assetvault works
AssetVault is a home-asset record and renewal-tracking app. Users add assets and their purchase, warranty, document, service, and maintenance details; browse asset records; and manage due-date reminders. The dashboard summarizes warranty and reminder status, while scheduled notifications and settings support follow-up. The graph preserves documented links from sampled screens and modules; some reminder and asset-list screen internals were not sampled, so their detailed interactions are omitted.
Main entry points: app/_layout.tsx App Bootstrap · (tabs)/_layout.tsx Tab Navigation · assets.ts Asset Repository · [id].tsx Asset Detail
Components 24
App Screens
- App Bootstrap
app/_layout.tsx - Tab Navigation
app/(tabs)/_layout.tsx - Dashboard Screen
app/(tabs)/index.tsx - Asset List
app/(tabs)/assets.tsx - Asset Detail
app/asset/[id].tsx - Add Asset
app/asset/add.tsx - Reminder List
app/(tabs)/reminders.tsx - Settings
app/(tabs)/settings.tsx
Asset Records
- Asset Form
src/components/asset/AssetForm.tsx - Asset Repository
src/db/assets.ts - Reminder Repository
src/db/reminders.ts - SQLite Client
src/db/client.ts
Domain Logic
- Dashboard Logic
src/logic/dashboard.ts - Warranty Logic
src/logic/warranty.ts - Reminder Logic
src/logic/reminders.ts - Maintenance Logic
src/logic/maintenance.ts - Asset Categories
src/constants/categories.ts - Formatting
src/logic/formatting.ts
App Services
- Notifications
src/services/notifications.ts - Settings State
src/store/settingsStore.ts - Theme System
src/theme/index.ts - Localization
src/i18n/index.ts
Other components
- Homeowner
- Device OS
Connections 36
- Homeowner → Tab Navigation: uses
README.md - App Bootstrap → Tab Navigation: hosts
README.md - App Bootstrap → Settings State: loads
app/_layout.tsx - App Bootstrap → Theme System: configures
app/_layout.tsx - App Bootstrap → Localization: initializes
app/_layout.tsx - App Bootstrap → Notifications: initializes
app/_layout.tsx - App Bootstrap → SQLite Client: initializes
- Tab Navigation → Dashboard Screen: routes
README.md - Tab Navigation → Asset List: routes
README.md - Tab Navigation → Reminder List: routes
README.md - Tab Navigation → Settings: routes
README.md - Homeowner → Add Asset: adds asset
app/asset/add.tsx - Add Asset → Asset Form: renders
app/asset/add.tsx - Add Asset → Asset Repository: writes asset
app/asset/add.tsx - Add Asset → Asset Categories: uses templates
- Asset Form → Warranty Logic: calculates dates
src/components/asset/AssetForm.tsx - Asset List → Asset Repository: reads assets
- Asset Detail → Asset Repository: reads and updates
app/asset/[id].tsx - Asset Detail → Reminder Repository: manages reminders
app/asset/[id].tsx - Asset Detail → Warranty Logic: checks status
app/asset/[id].tsx - Asset Detail → Reminder Logic: uses rules
app/asset/[id].tsx - Dashboard Screen → Asset Repository: loads assets
app/(tabs)/index.tsx - Dashboard Screen → Reminder Repository: loads reminders
app/(tabs)/index.tsx - Dashboard Screen → Dashboard Logic: builds summary
app/(tabs)/index.tsx - Dashboard Logic → Warranty Logic: checks warranties
src/logic/dashboard.ts - Dashboard Logic → Reminder Logic: categorizes reminders
src/logic/dashboard.ts - Reminder List → Reminder Repository: manages reminders
- Reminder Repository → SQLite Client: queries
src/db/reminders.ts - Asset Repository → SQLite Client: queries
src/db/assets.ts - Settings → Settings State: updates preferences
app/(tabs)/settings.tsx - Settings → Asset Repository: manages sample data
app/(tabs)/settings.tsx - Settings → Notifications: configures alerts
app/(tabs)/settings.tsx - Notifications → Reminder Logic: calculates alert dates
src/services/notifications.ts - Notifications → Device OS: schedules alerts
- Settings State → Theme System: selects preference
src/hooks/useAppTheme.ts - Asset Detail → Formatting: formats details
app/asset/[id].tsx