How avijan711/pogv4 works
Main Components
a) Frontend Layer (React Application):
• Core Components (Dashboard, Navigation)
• Inventory Management Components
• Inquiry Management Components
• Reference Management Components
• File Upload Components
• Supplier Response Components
• Shared Components/Utilities
b) Backend Layer (Node.js Server):
• REST API Routes
• Middleware Layer
• Services Layer
• Models Layer
• Database Queries
• File Processing Utilities
c) Database Layer:
• Inventory Items
• Inquiries
• Supplier Responses
• Reference Changes
• Price History
• Settings
• Promotions
Component Relationships
• Client → Server: REST API calls
• Server → Database: Data operations
• File Upload Flow: Client → Server → File Processing → Database
• Reference Change Flow: Multiple entry points (Excel Upload, Supplier Response) → Processing → Database
Key Architectural Patterns to Highlight
a) Frontend Architecture:
• React component hierarchy
• Shared components and hooks
• State management flow
• Dialog system architecture
b) Backend Architecture:
• Middleware chain
• Service layer abstraction
• Database access patterns
• File processing pipeline
Additional Elements
Supporting elements:
• Version information
• Technology stack list
• Data flow indicators
• Security boundaries
• Error handling paths