How bhavyaa110/boliseva works
BOLISEVA is a voice-first, multilingual loan-lifecycle assistant. Users select a language, sign up or log in with a phone OTP, verify documents, apply for loans, then track loan status and EMIs through the dashboard or ask for voice guidance. Source evidence shows frontend orchestration, service calls, Supabase persistence, and browser storage; the README describes additional AI and offline capabilities, but their full runtime wiring is not shown.
Main entry points: App.tsx Journey router · authService.ts Authentication service · VoiceChat.tsx Voice assistant · loanService.ts Loan and EMI service
Components 25
User journey
- Journey router
src/App.tsx - Language selection
src/components/LanguageSelector.tsx - Phone sign-in
src/components/AuthForm.tsx - Account signup
src/components/SignupForm.tsx - OTP verification
src/components/OTPVerification.tsx - Document verification
src/components/DocumentVerification.tsx - Loan application
src/components/LoanForm.tsx - Loan dashboard
src/components/Dashboard.tsx - Admin dashboard
src/components/AdminDashboard.tsx
Voice and language
- Voice assistant
src/components/VoiceChat.tsx - Voice control
src/components/VoiceButton.tsx - Voice hook
src/hooks/useVoice.ts - Speech service
src/utils/voice.ts - Translations
src/utils/translations.ts
Application services
- Authentication service
src/services/authService.ts - Document service
src/services/documentService.ts - Loan and EMI service
src/services/loanService.ts - SMS provider
- OTP rate limiter
src/utils/rateLimiter.ts
Persistence and connectivity
- Offline handling
src/hooks/useOffline.ts - Browser storage and queue
src/utils/storage.ts - Supabase client
src/lib/supabase.ts - Supabase database
Other components
- Borrower
- Gemini API
Connections 35
- Borrower → Journey router: uses
README.md - Journey router → Language selection: renders
src/App.tsx - Journey router → Phone sign-in: renders
src/App.tsx - Journey router → Account signup: renders
src/App.tsx - Journey router → OTP verification: renders
src/App.tsx - Journey router → Document verification: renders
src/App.tsx - Journey router → Loan application: renders
src/App.tsx - Journey router → Loan dashboard: renders
src/App.tsx - Journey router → Voice assistant: renders
src/App.tsx - Journey router → Admin dashboard: renders
src/App.tsx - Phone sign-in → Authentication service: checks account
src/components/AuthForm.tsx - Account signup → Authentication service: registers
src/components/SignupForm.tsx - Journey router → Authentication service: requests OTP
- Authentication service → Supabase client: queries
src/services/authService.ts - Authentication service → OTP rate limiter: checks limit
src/services/authService.ts - Authentication service → SMS provider: sends OTP
src/services/authService.ts - OTP verification → Journey router: submits code
src/App.tsx - Journey router → Document service: invokes verification
src/App.tsx - Document service → Supabase client: stores documents
src/services/documentService.ts - Loan application → Loan and EMI service: submits application
src/components/LoanForm.tsx - Loan dashboard → Loan and EMI service: loads loan data
src/components/Dashboard.tsx - Admin dashboard → Loan and EMI service: manages loans
src/components/AdminDashboard.tsx - Loan and EMI service → Supabase client: reads and writes
src/services/loanService.ts - Supabase client → Supabase database: connects
src/lib/supabase.ts - Journey router → Browser storage and queue: reads saved settings
src/App.tsx - Offline handling → Browser storage and queue: uses
src/hooks/useOffline.ts - Browser storage and queue → Loan and EMI service: replays queued loans
src/utils/storage.ts - Voice assistant → Voice hook: uses voice
src/components/VoiceChat.tsx - Phone sign-in → Voice hook: uses voice
src/components/AuthForm.tsx - Voice control → Voice hook: controls voice
- Voice hook → Speech service: calls
src/hooks/useVoice.ts - Voice assistant → Voice control: renders
src/components/VoiceChat.tsx - Loan dashboard → Translations: uses labels
src/components/Dashboard.tsx - Voice assistant → Translations: uses labels
src/components/VoiceChat.tsx - Voice assistant → Gemini API: may consult