How blueantfinserv/blueant-crm-erp_frontend works
BlueAnt CRM ERP is a cross-platform, role-based CRM frontend. Users authenticate, then enter role-specific workspaces: Sales Persons manage assigned leads and update existing meetings; Sales Coordinators review and verify meetings, manage assignments and workload, and export operational data. The documented meeting workflow submits an update for the current meeting; backend follow-up creation is outside this repository. The graph shows the app/authentication layers and the main lead, meeting, and coordinator stages. Some screen implementations are unsampled, so their internal relationships are omitted.
Main entry points: App.tsx Role App Routing · SalesCoordinatorScreen.tsx Coordinator Workspace · SalesManagerTasksScreen.tsx Sales Task List · MeetingService.ts Meeting Service
Components 20
Application Shell
- Role App Routing
App.tsx - Role Dashboards
src/screens/DashboardScreen.tsx
Identity
- Login Screens
src/screens/auth/LoginScreen.tsx - Auth Provider
src/context/AuthProvider.tsx - Auth Service
src/services/AuthService.ts - Auth API
src/api/auth.ts - Secure Storage
src/services/SecureStorageService.ts
Sales Workflows
- Lead Workspace
src/modules/leads/LeadScreen.tsx - Meeting Update Form
src/modules/salesManager/forms/LeadWorkflowForm.jsx - Meeting Service
src/services/MeetingService.ts - Meeting API
src/api/meeting.ts - Sales Task List
src/modules/salesManager/tasks/SalesManagerTasksScreen.tsx - Lead Search Service
src/services/LeadSearchService.ts - Lead Service
src/services/LeadService.ts - Lead API
src/api/lead.ts - Lead Search API
src/api/leadSearch.ts
Coordinator Operations
- Coordinator Workspace
src/screens/SalesCoordinatorScreen.tsx - Verification Form Data
src/screens/meetingVerificationForm.ts
Other components
- CRM User
- CRM Backend
Connections 22
- CRM User → Role App Routing: opens
App.tsx - Role App Routing → Login Screens: routes to
App.tsx - Role App Routing → Auth Provider: wraps
App.tsx - Auth Provider → Auth Service: uses
src/context/AuthProvider.tsx - Auth Service → Auth API: calls
src/services/AuthService.ts - Auth Service → Secure Storage: persists session
src/services/AuthService.ts - Role App Routing → Role Dashboards: routes by role
App.tsx - Role App Routing → Coordinator Workspace: routes to
App.tsx - Role App Routing → Lead Workspace: routes to
App.tsx - Role App Routing → Sales Task List: routes to
App.tsx - Sales Task List → Lead Search Service: loads leads
src/modules/salesManager/tasks/SalesManagerTasksScreen.tsx - Sales Task List → Lead Service: uses
src/modules/salesManager/tasks/SalesManagerTasksScreen.tsx - Sales Task List → Meeting Service: loads meetings
src/modules/salesManager/tasks/SalesManagerTasksScreen.tsx - Lead Search Service → Lead Search API: searches
src/services/LeadSearchService.ts - Lead Service → Lead API: calls
src/services/LeadService.ts - Meeting Service → Meeting API: calls
src/services/MeetingService.ts - Coordinator Workspace → Lead Service: uses
src/screens/SalesCoordinatorScreen.tsx - Coordinator Workspace → Lead Search Service: uses
src/screens/SalesCoordinatorScreen.tsx - Coordinator Workspace → Meeting Service: uses
src/screens/SalesCoordinatorScreen.tsx - Coordinator Workspace → Verification Form Data: uses form data
src/screens/SalesCoordinatorScreen.tsx - Meeting Update Form → Meeting Service: submits update
- Meeting API → CRM Backend: workflow update
README.md