How kanak2349299/vaaris works
Vaaris is a digital legacy planning and secure handover platform. The user flow runs from sign-in through asset and nominee setup, legacy directives, and vault configuration to a staged verification trigger, heir notification, and heir-portal access. Its backend exposes REST endpoints for these capabilities, with persistent records for users, assets, instructions, triggers, notifications, and vault shares. The README documents additional dashboard and identity features. Relationships for unsampled pages and routers are limited to documented flows or SOURCE INDEX references; the optional Twilio path is documented but not verified from its configuration here.
Main entry points: App.jsx App shell · database.py SQL database · main.py REST API · api.js API client
Components 31
User experience
- App shell
frontend/src/App.jsx - Sign-in state
frontend/src/context/AuthContext.jsx - Dashboard
frontend/src/pages/OverviewPage.jsx
Legacy planning
- Legacy planner
frontend/src/pages/LegacyPlanPage.jsx - Nominee management
frontend/src/pages/NomineesPage.jsx - Digital identity
frontend/src/pages/DigitalIdentityPage.jsx - Legacy guides
frontend/src/pages/GuidesPage.jsx - Asset endpoints
backend/app/routers/assets_router.py - Nominee endpoints
backend/app/routers/heirs_router.py - Will directives
backend/app/routers/will_router.py
Secure vault
- Vault interface
frontend/src/pages/VaultPage.jsx - Client vault crypto
frontend/src/services/vaultCryptoService.js - Vault endpoints
backend/app/routers/vault_router.py - Shamir sharing
backend/app/services/shamir.py
Verification and handover
- Check-ins
frontend/src/pages/CheckInsPage.jsx - Heir portal
frontend/src/pages/HeirPortalPage.jsx - WhatsApp simulator
frontend/src/components/WhatsAppModal.jsx - Trigger endpoints
backend/app/routers/trigger_router.py - Verification stages
backend/app/services/verification_engine.py - Notification dispatch
backend/app/services/notification_service.py - Heir access endpoints
backend/app/routers/heir_portal_router.py - Notification endpoints
backend/app/routers/notifications_router.py
API and persistence
- API client
frontend/src/services/api.js - REST API
backend/app/main.py - Authentication
backend/app/routers/auth_router.py - Dashboard endpoints
backend/app/routers/dashboard_router.py - SQL database
backend/app/database.py - Domain records
backend/app/models.py - JWT and passwords
backend/app/auth.py
Other components
- Legacy owner
- Twilio WhatsApp
Connections 47
- Legacy owner → App shell: uses
README.md - App shell → Sign-in state: provides auth
frontend/src/App.jsx - App shell → Dashboard: shows
frontend/src/App.jsx - App shell → Legacy planner: shows
frontend/src/App.jsx - App shell → Vault interface: shows
frontend/src/App.jsx - App shell → Nominee management: shows
frontend/src/App.jsx - App shell → Check-ins: shows
frontend/src/App.jsx - App shell → Digital identity: shows
frontend/src/App.jsx - App shell → Legacy guides: shows
frontend/src/App.jsx - App shell → Heir portal: shows
frontend/src/App.jsx - App shell → WhatsApp simulator: opens
frontend/src/App.jsx - Sign-in state → API client: calls
frontend/src/context/AuthContext.jsx - Legacy planner → API client: calls
frontend/src/pages/LegacyPlanPage.jsx - Vault interface → Client vault crypto: uses
frontend/src/services/vaultCryptoService.js - Vault interface → API client: calls
frontend/src/pages/VaultPage.jsx - Check-ins → API client: calls
frontend/src/pages/CheckInsPage.jsx - Heir portal → API client: calls
frontend/src/pages/HeirPortalPage.jsx - WhatsApp simulator → API client: calls
frontend/src/components/WhatsAppModal.jsx - Legacy owner → API client: submits actions
README.md - API client → REST API: HTTP requests
README.md - REST API → Authentication: registers
backend/app/main.py - REST API → Dashboard endpoints: registers
backend/app/main.py - REST API → Asset endpoints: registers
backend/app/main.py - REST API → Nominee endpoints: registers
backend/app/main.py - REST API → Will directives: registers
backend/app/main.py - REST API → Trigger endpoints: registers
backend/app/main.py - REST API → Heir access endpoints: registers
backend/app/main.py - REST API → Notification endpoints: registers
backend/app/main.py - REST API → Vault endpoints: registers
backend/app/main.py - Authentication → JWT and passwords: uses
backend/app/routers/auth_router.py - Authentication → SQL database: queries
backend/app/routers/auth_router.py - Asset endpoints → SQL database: queries
backend/app/routers/assets_router.py - Nominee endpoints → SQL database: queries
backend/app/routers/heirs_router.py - Will directives → SQL database: queries
backend/app/routers/will_router.py - Dashboard endpoints → SQL database: queries
backend/app/routers/dashboard_router.py - Vault endpoints → SQL database: reads and writes
backend/app/routers/vault_router.py - Vault endpoints → Shamir sharing: splits secrets
backend/app/routers/vault_router.py - Trigger endpoints → Verification stages: advances stages
backend/app/routers/trigger_router.py - Verification stages → Notification dispatch: dispatches alerts
backend/app/services/verification_engine.py - Notification endpoints → Notification dispatch: sends alerts
backend/app/routers/notifications_router.py - Notification dispatch → Twilio WhatsApp: sends WhatsApp
README.md - Verification stages → SQL database: updates state
backend/app/services/verification_engine.py - Notification dispatch → SQL database: logs delivery
backend/app/services/notification_service.py - Heir access endpoints → SQL database: reads heir assets
backend/app/routers/heir_portal_router.py - SQL database → Domain records: maps records
backend/app/models.py - SQL database → Domain records: uses base
backend/app/database.py - JWT and passwords → SQL database: loads users
backend/app/auth.py