How paddockbux/novacolumn-webui works
Main Components
a) Frontend Layer:
• Static Web Interface (HTML/CSS)
• Assets (styles and media)
• Client-side JavaScript
b) Backend Layer:
• Python API Server
• Database Connection Handler
c) External Components:
• NovaColumn Database (MySQL/MariaDB based on the port)
• Web Server (Apache/Nginx as mentioned in prerequisites)
[Client Layer]
• Web Browser
• Static Assets (CSS/Audio)
[Web Server Layer (Apache/Nginx)]
• Static File Serving
• Proxy to API
[Application Layer]
• Python API Server (api.py)
• Database Connection Manager
[Data Layer]
• NovaColumn Database
Key Relationships to Highlight
• API calls from frontend to Python backend (especially the fetch URL mentioned in setup)
• Database connections from Python API to NovaColumn database
• Port configurations (default 8080 for API, 3306 for database)
Important Details
• Port configurations
• Database credentials flow
• API endpoints
• Static asset serving paths
Specific Implementation Notes
• The separation between static content and API server
• The database connection configuration
• The role of the web server in serving static content and proxying API requests
Technical Stack Indicators
• Python 3.8+
• MySQL/MariaDB
• HTML/CSS/JavaScript
• Apache/Nginx