How venkatasrinidhi-ai/magadha-insurance-app works
Magadha is a Flet insurance portal whose main journey runs from login and OTP verification through identity confirmation to a member dashboard, where customers access policy cards, payments, and claims. The single source file also contains help and profile UI. SQLite persistence is explicit for payments and claim-history reads. README documents broader claim processing and policy coverage, but the excerpts do not show their full implementation or wiring; those links are therefore limited to the documented user-facing stages.
Main entry points: app.py Home dashboard
Components 14
Member access
- Startup animation
app.py - Mobile login
app.py - OTP verification
app.py - Identity check
app.py
Member portal
- Home dashboard
app.py - Policy help chat
app.py - Profile menu
app.py
Insurance services
- Virtual insurance card
app.py - Incident claims
app.py - Claims history
app.py - Payment checkout
app.py - Payment history
app.py
Persistence
- SQLite database
app.py
Other components
- Member
Connections 17
- Member → Startup animation: opens app
- Startup animation → Mobile login: shows login
- Member → Mobile login: enters mobile
- Mobile login → OTP verification: continues to
- OTP verification → Identity check: verifies then advances
- Identity check → Home dashboard: continues to
- Member → Home dashboard: uses portal
- Home dashboard → Virtual insurance card: opens card
- Home dashboard → Incident claims: starts claim
- Home dashboard → Payment checkout: opens payment
- Home dashboard → Payment history: views history
- Home dashboard → Claims history: views history
- Home dashboard → Policy help chat: asks questions
- Home dashboard → Profile menu: opens profile
- Payment checkout → SQLite database: writes payment
- Payment history → SQLite database: reads records
- Claims history → SQLite database: reads records