How richard0403/fluxpanel works
Project Type and Purpose
• This is a full‑stack, front‑end/back‑end separated web application called “FluxPanel,” a rapid development framework built with FastAPI (Python) on the back end and Vue 3 on the front end.
• It delivers a management console with built‑in user/role/menu/department/post/dict/parameter/notice/logs/monitoring/code‑generation/AI Q&A features and supports Docker deployment.
Top‑Level Components
• Docker Compose Orchestrator
• Nginx Reverse Proxy / Static File Server
• Frontend (Vue 3 + Element Plus)
• Backend API Server (FastAPI + Uvicorn/Gunicorn/Granian)
• Relational Database (MySQL)
• In‑Memory Store / Cache (Redis)
• Scheduler / Task Queue (Python APScheduler via Redis)
• MCP AI WebSocket Server (AI Q&A)
• Code Generation Module
Key Architectural Patterns
• Front‑end / Back‑end separation via an HTTP API layer
• MVC‑style organization in both layers:
• Frontend: Views, Components, Services (api/*.js)
• Backend: Controllers (FastAPI routers), Services, DAOs, Entities (DO/VO)
• Modular back end: module_admin, module_app, module_gen, module_task, module_website
• Shared middleware stack (CORS, GZIP, error handling)
• Docker‑based micro‑services style: separate containers for nginx, mysql, python app, redis