How pmadhuri97/exporter-crm works
Exporter CRM is an internal exporter sales and verification record for ANER. Staff identify or import exporters, qualify them, record background checks, open deals, collect documents, and hand deals to lending. Its principal UI is the onboarding pipeline; the backend onboarding module owns the CRM workflow, with compliance, KYB, cases, and customer modules providing related capabilities. The README describes document scanning and storage as prototype-level (pass-through scanning and local disk). Some backend connections are documented only at product level, so those links are marked unverified.
Main entry points: application Onboarding workflow · main.py Backend application · PipelinePage.tsx Pipeline screen · api Onboarding API
Components 20
Product entry
- Pipeline screen
frontend/src/modules/onboarding/pages/PipelinePage.tsx - Frontend routes
frontend/src/routes/AppRouter.tsx - Backend application
backend/app/main.py
Exporter CRM
- Onboarding API
backend/app/modules/onboarding/api - Onboarding workflow
backend/app/modules/onboarding/application - Exporter profile
backend/app/modules/onboarding/domain/entities/exporter_profile.py - Deal documents
backend/app/modules/onboarding/application/document_service.py - Document storage
backend/app/modules/onboarding/application/storage_service.py - Deals
backend/app/modules/onboarding/application/deal_service.py
Verification
- Background checks
backend/app/modules/onboarding/application/background_check_service.py - Screening review log
backend/app/modules/onboarding/application/screening_review_service.py - Compliance rules
backend/app/modules/compliance/application - Business verification
backend/app/modules/kyb/infrastructure/adapters - Compliance cases
backend/app/modules/cases/application/case_query_service.py
Shared platform
- Authentication and roles
backend/app/platform/authentication/services.py - Database sessions
backend/app/platform/database/services.py - Audit services
backend/app/platform/audit_framework/services.py
Other components
- CRM staff
- Lending team
- RXIL marketplace
Connections 20
- CRM staff → Pipeline screen: uses
README.md - Frontend routes → Pipeline screen: routes to
frontend/src/routes/AppRouter.tsx - Pipeline screen → Backend application: requests data
- Backend application → Onboarding API: mounts routes
backend/app/main.py - Onboarding API → Onboarding workflow: handles requests
backend/app/modules/onboarding/api/background_check_router.py - Onboarding workflow → Exporter profile: maintains profile
backend/app/modules/onboarding/application/screening_review_service.py - Onboarding workflow → Background checks: records checks
README.md - Onboarding workflow → Screening review log: records screening
backend/app/modules/onboarding/application/screening_review_service.py - Onboarding workflow → Compliance rules: uses compliance
- Onboarding workflow → Business verification: uses verification
- Onboarding workflow → Compliance cases: opens cases
- Onboarding workflow → Deals: opens deals
README.md - Onboarding workflow → Deal documents: gathers paperwork
README.md - Deal documents → Document storage: stores documents
- Deals → Lending team: hands off
README.md - CRM staff → Onboarding workflow: imports exporters
README.md - RXIL marketplace → Onboarding workflow: supplies exporters
README.md - Backend application → Authentication and roles: configures access
- Onboarding workflow → Database sessions: persists records
- Onboarding workflow → Audit services: records audit