How sugan-developerinnooryze-stack/leadryze_frontend works
Leadryze is a multi-tenant CRM frontend with authentication, role-aware navigation, dashboards, operational CRM workspaces, and tenant administration. Users enter through routed pages; authentication state and shared API access support the workspace, while domain pages use query modules to retrieve or update CRM data. The native CRM spans sales and service operations as well as configurable pipelines, templates, and automation. The repository evidence includes no README; links for unsampled page families are limited to routes visible in App.tsx, and the backend is treated as an external API.
Main entry points: api.ts HTTP API client · App.tsx Route application · native-crm Native CRM domains · DashboardPage.tsx CRM dashboard
Components 24
Application shell
- Route application
src/App.tsx - Workspace layout
src/components/layout/Layout.tsx - Navigation sidebar
src/components/layout/Sidebar.tsx - HTTP API client
src/services/api.ts
Access and administration
- Sign-in and registration
src/pages/auth - Session and permissions
src/stores/auth.store.ts - Authentication service
src/services/auth.service.ts - Tenant administration
src/pages/admin
CRM workspaces
- Core CRM workspace
src/modules/crm/shared/CrmLayout.tsx - Core CRM records
src/modules/crm - Customer management
src/pages/customers/CustomersPage.tsx
Native CRM operations
- Native CRM domains
src/pages/native-crm - Native CRM tables
src/modules/native-crm/shared/FSTable.tsx - Record forms and drawers
src/modules/native-crm/shared/FSDrawer.tsx - Native CRM queries
src/modules/native-crm/queries - Pipeline configuration
src/modules/native-crm/queries/pipeline-config.queries.ts - Tenant settings
src/pages/settings/SettingsPage.tsx - Operations calendar
src/pages/native-crm/calendar/useCalendarData.ts
Insights and integrations
- CRM dashboard
src/pages/dashboard/DashboardPage.tsx - Dashboard data queries
src/modules/dashboard/queries/dashboard.queries.ts - AI chat
src/services/chat.service.ts - Connector management
src/pages/connectors
Other components
- Workspace user
- Leadryze API
Connections 27
- Workspace user → Route application: opens
- Route application → Sign-in and registration: routes to
src/App.tsx - Route application → Workspace layout: renders
src/App.tsx - Route application → Tenant administration: routes to
src/App.tsx - Route application → CRM dashboard: routes to
src/App.tsx - Route application → Native CRM domains: routes to
src/App.tsx - Workspace layout → Navigation sidebar: renders
src/components/layout/Layout.tsx - Sign-in and registration → Session and permissions: authenticates via
- Session and permissions → Authentication service: calls
src/stores/auth.store.ts - Authentication service → HTTP API client: sends requests
src/services/auth.service.ts - Tenant administration → Authentication service: uses admin endpoints
- CRM dashboard → Dashboard data queries: loads dashboard data
src/pages/dashboard/DashboardPage.tsx - CRM dashboard → Native CRM queries: loads CRM data
src/pages/dashboard/DashboardPage.tsx - CRM dashboard → HTTP API client: requests data
src/pages/dashboard/DashboardPage.tsx - Core CRM records → Core CRM workspace: renders
src/modules/crm/tasks/pages/TasksPage.tsx - Core CRM workspace → HTTP API client: requests records
src/modules/crm/shared/CrmLayout.tsx - Customer management → HTTP API client: requests customer data
src/pages/customers/CustomersPage.tsx - Native CRM domains → Native CRM queries: uses domain queries
src/pages/native-crm/services/ServicesPage.tsx - Native CRM domains → Native CRM tables: renders tables
src/pages/native-crm/services/ServicesPage.tsx - Native CRM domains → Record forms and drawers: opens record drawers
src/pages/native-crm/services/ServicesPage.tsx - Native CRM domains → Pipeline configuration: configures stages
src/pages/native-crm/settings/PipelineSettingsPage.tsx - Native CRM domains → Operations calendar: builds calendar data
src/pages/native-crm/calendar/useCalendarData.ts - Operations calendar → Native CRM queries: loads domain records
src/pages/native-crm/calendar/useCalendarData.ts - Tenant settings → HTTP API client: requests settings
src/pages/settings/SettingsPage.tsx - AI chat → HTTP API client: sends AI requests
src/services/chat.service.ts - Connector management → Leadryze API: manages integrations
- HTTP API client → Leadryze API: sends HTTP requests
src/services/api.ts