How andrewchernigovsky/autosygnalization-kz-php works
Main Components
Frontend Layer:
• Client-side JavaScript (React components in /files/js/components)
• SCSS Styling System (/files/scss)
• Static Assets (images, videos, fonts)
Backend Layer:
• PHP Server (/files/php)
• API Endpoints (/files/php/api)
• Database Integration (/files/php/db)
• Mail/Notification System (/files/php/functions/mail)
Build System:
• ESBuild Configuration
• Gulp Tasks
• Asset Processing (Sharp.js for images)
[Client Browser]
• ↕
[Frontend Layer]
• React Components
• SCSS Styles
• Static Assets
• ↕
[Build System]
• ESBuild
• Gulp
• Sharp.js
• ↕
[Backend Layer]
• PHP Router
• API Controllers
• Business Logic
• Database Layer
• ↕
[External Services]
• Mail System
• Telegram Integration
Important Relationships to Highlight
• Component Communication:
• How React components interact with PHP API endpoints
• Flow from frontend forms to backend processors
• Asset delivery pipeline
• Data Flow:
• Session management flow
• Cart system data flow
• Product catalog interactions
Implementation Details
Use these symbols:
• Rectangles: Main components
• Clouds: External services
• Hexagons: Build/compilation processes
Key Architectural Patterns to Emphasize
• Component-based architecture (React)
• API-driven communication
• Modular PHP structure
• Asset optimization pipeline
• Form handling and validation system
• The separation of frontend and backend concerns
• The build process for assets and code
• The modular component structure
• The API-driven communication pattern
• The integration with external services