How dyn-art/monorepo works
Main System Components
a. Frontend Applications:
• Web Application (apps/web)
• Figma Plugin (apps/figma-plugin)
b. Backend Services:
• Core API Service (apps/ee_core-node)
• Graphic Service (apps/ee_graphic)
c. Core Libraries:
• SVG Builder (crates/arb_svg_builder)
• DTIF Processing (packages/arb-dtif)
• UI Components (packages/ui)
Key Architectural Elements
a. Client Layer:
• Web Interface
• Figma Plugin Interface
• API Clients
b. Service Layer:
• Image Generation Service
• SVG Processing Service
• Authentication Service
c. Core Processing Layer:
• SVG Builder Engine
• DTIF Transformer
• Asset Processing
d. Data Layer:
• Database (indicated by drizzle migrations)
• Asset Storage
[Client Layer]
• ↓
[API Gateway]
• ↓
[Service Layer]
• ↓
[Core Processing]
• ↓
[Data Layer]
Important Flows to Highlight
a. Image Generation Flow:
• Client Request → API Gateway
• Service Layer Processing
• SVG/Image Generation
• Response Delivery
b. Asset Management Flow:
• Asset Upload
• Processing Pipeline
• Storage and Caching
• Delivery
Component Relationships
Clear connections between:
• Figma Plugin ↔ API Gateway
• Web App ↔ API Gateway
• API Gateway ↔ Services
• Services ↔ Core Processing
• Core Processing ↔ Data Layer
Technical Details
• Rust-based image processing pipeline
• SVG generation and optimization
• DTIF (Dynamic Template Intermediate Format) processing
• Database interactions
• Caching mechanisms
• API endpoints