How skolavsky/diplom_mrs works
Main System Components
a) Web Layer:
• Nginx (reverse proxy/static files server)
• Gunicorn (WSGI server)
b) Application Layer (Django Apps):
• Webhandler (Main app handling authentication and base pages)
• Clients (Core business logic app)
• Blog (Content management)
• Account (User management)
• AI Module (Machine learning integration)
c) Database Layer:
• SQLite (development)
• Production database (likely PostgreSQL based on configuration)
Component Relationships
[Client Browser] → [Nginx] → [Gunicorn] → [Django Apps]
• ↓
• [Database]
Detailed Architecture
Webhandler:
• Authentication
• Base templates
• Static file handling
Clients:
• Client management
• Data processing
• AI integration
• Excel import/export
Blog:
• Post management
• Comments
• RSS feeds
• Sitemaps
Account:
• User management
• Profile handling
• Password reset
Special Features to Highlight
• AI Model integration (clients/AI/)
• Data import/export functionality
• Client data visualization
• Authentication flow
• Static file handling
Technical Details
Annotations for:
• Docker containerization
• Nginx configuration
• Gunicorn settings
• Development vs Production environments
Data Flow
• User request flow
• Data processing flow
• AI model interaction
• Static file serving
• Database operations
Environment Separation
A section showing:
• Development environment
• Production environment
• Docker container structure
This system design should reflect the project's Django-based architecture while highlighting its unique features like AI integration and client data management capabilities.