Problem
LIC agents in India often juggle dozens of plans while presenting them to clients. The traditional approach—static PDFs or spreadsheets—leads to duplicated effort, stale bonus data, and slow page loads when a new plan is added. A digital tool that loads only the necessary code for a chosen plan, while isolating runtime errors, directly addresses these pain points.
Implementation Overview
The DoAide InsureKit achieves this with a combination of FastAPI on the back‑end, React + Vite on the front‑end, and a PostgreSQL database that stores plan metadata and current bonus rates. The most visible technical improvement is route‑level code splitting coupled with an error boundary .
Route‑Level Code Splitting
Vite, the bundler used in this project, supports dynamic imports out of the box. Each top‑level route in the React app is defined as a lazily loaded component.…