How kendraio/kendraio-app works
Main System Components
The system architecture should be represented with these key components:
a) Frontend Layer:
• Angular-based SPA (Single Page Application)
• UI Components (blocks, forms, dialogs)
• Workflow Editor
• Authentication Integration (Auth0)
b) Backend Services:
• Firebase Functions
• External API Integrations
• Cloud Storage
• Authentication Services
c) Core Features:
• Workflow Engine
• Block System
• Adapter Framework
• Form Builder
• Data Management
[Client Layer]
• ↓↑
[Core Application Layer]
• ↓↑
[Service Layer]
• ↓↑
[External Services/APIs]
Component Details
a) Client Layer:
• Main Angular modules (app, shared, blocks)
• Workflow editor interface
• Form builders and UI components
b) Core Application Layer:
• Workflow Engine
• Block Management System
• Adapter Framework
• State Management
• Context Management
c) Service Layer:
• Firebase Functions
• Document Repository
• Schema Repository
• Local Database Service
d) External Services:
• Auth0 Integration
• Cloud Storage
• Third-party APIs
• Media Services
Key Relationships to Highlight
• Block system interaction with the workflow engine
• Data flow between adapters and external services
• Authentication flow with Auth0
• Form builder integration with the block system
• State management across components
Implementation Details
• The modular block architecture
• Workflow execution path
• Data transformation pipeline
• Service integration points
• State and context management