How datik2012-jpg/bmcpolinexo works
BMCPolinexo is a local, memory-only Hebrew insurance portfolio review app. A customer supplies details and uploads a Har HaBituach XLSX; the API parses it into a report, which the workspace displays for filtering, correction, exclusion, source comparison, and family views. The user can export current and proposed portfolios to a compact Excel workbook. The README also documents logo lookup and shared-customer summaries; unsampled implementation details are represented only where documented, and edges reflect shown calls or explicit documentation.
Main entry points: CustomerPortfolio.tsx Portfolio review · App.tsx Workspace coordinator · main.py Import/export API · CustomerForm.tsx Customer details
Components 17
Workspace UI
- Workspace coordinator
frontend/src/App.tsx - Customer details
frontend/src/CustomerForm.tsx - Customer model
frontend/src/customers.ts
Portfolio review
- Portfolio review
frontend/src/CustomerPortfolio.tsx - Shared portfolios
frontend/src/SharedPortfolio.tsx - Portfolio calculations
frontend/src/domain.ts - Proposal operations
frontend/src/workspace.ts - Coverage categories
frontend/src/insuranceCategories.ts - Insurer logos
frontend/src/InsurerLogo.tsx - Insurer catalog
frontend/src/insurers.ts
Workbook import
- Import/export API
backend/app/main.py - Workbook parser
backend/app/parser.py
Workbook export
- Export controls
frontend/src/ExportButton.tsx - Export validation
backend/app/exporter.py - Excel generation
backend/app/compact_export.py
Other components
- Agent
- Customer
Connections 18
- Customer → Customer details: enters details
README.md - Workspace coordinator → Customer details: renders
frontend/src/App.tsx - Customer details → Customer model: validates with
frontend/src/CustomerForm.tsx - Workspace coordinator → Import/export API: uploads workbook
README.md - Import/export API → Workbook parser: parses workbook
backend/app/main.py - Workspace coordinator → Portfolio review: renders
frontend/src/App.tsx - Workspace coordinator → Shared portfolios: renders
frontend/src/App.tsx - Portfolio review → Portfolio calculations: calculates totals
frontend/src/CustomerPortfolio.tsx - Portfolio review → Proposal operations: uses proposal operations
frontend/src/CustomerPortfolio.tsx - Portfolio review → Coverage categories: uses categories
frontend/src/CustomerPortfolio.tsx - Portfolio review → Insurer logos: renders logos
frontend/src/CustomerPortfolio.tsx - Insurer logos → Insurer catalog: looks up brand
frontend/src/InsurerLogo.tsx - Shared portfolios → Portfolio review: renders portfolios
frontend/src/SharedPortfolio.tsx - Agent → Export controls: requests export
README.md - Portfolio review → Export controls: offers export
frontend/src/CustomerPortfolio.tsx - Export controls → Import/export API: posts export
frontend/src/ExportButton.tsx - Import/export API → Export validation: validates request
backend/app/main.py - Export validation → Excel generation: creates workbook
backend/app/exporter.py