How cuyakonwu/mlh-portfolio works
Main System Components
a) Web Application Layer:
• Flask Application Server (Core)
• Jinja2 Template Engine
• Static Asset Handler
b) Data Layer:
• SQLite Database (mydatabase.db)
c) Infrastructure Layer:
• Docker Container Environment
• Nginx Reverse Proxy (indicated by user_conf.d)
Component Organization
[Client Browser] → [Nginx Reverse Proxy] → [Flask Application]
• ↙ ↘
• [Static Files] [Templates]
• ↓
• [SQLite Database]
Specific Implementation Details
a) Flask Application Structure:
• Main app module (app/__init__.py)
• It to the template directory (app/templates)
• Link to static assets (app/static)
• CSS files
• JavaScript files
• Images
b) Infrastructure Components:
• Docker container environment (shown by Dockerfile and docker-compose files)
• Nginx configuration (user_conf.d)
• GitHub Actions workflow for CI/CD (.github/workflows)
Design Elements
Use these visual elements:
• Blue rectangles for application components
• Green rectangles for infrastructure components
• Yellow rectangles for data storage
• Client Layer | → | Infrastructure | → | Application |
• (Browser) | | (Docker/Nginx) | | Layer |
• ↓
• Data Layer |
• (SQLite) |
Key Workflows
Main workflows with numbered sequences: