How fleeforezz/melville works
Main Components
• Server/Backend: This will be the core application logic that handles login, book management, user roles, and processing of user requests. Include components for the admin controls (dashboard management, user and content moderation) and authors (book upload and editing functionalities).
• Database & Storage: Illustrate the data persistence layer including a separate MSSQL Server (running via Docker) for structured data (users, books, categories, etc.). Add the MinIO server for storing various resources like images and book files.
• CI/CD Pipeline: Represent the continuous integration and deployment triggers that involve Jenkins (for build, code analysis with Sonarqube, and Dockerization) along with pushing images to DockerHub, managing Kubernetes manifests, and deploying via ArgoCD.
• Deployment Environment: Capture the Kubernetes cluster — with details like two nodes, multiple pods, and different namespaces for testing and production. Also, include deployment systems like the reverse proxy (Nginx Proxy Manager) and Cloudflare for DNS management.
• External Services: Although niche, it’s important to show integration with external authentication (login/signup with Google) and the integration with GitLab for source code management.
Establish Relationships and Interactions
• Interactions between the CI/CD tools (Jenkins, Sonarqube, DockerHub, ArgoCD) in the build/deployment pipeline.
• That the Kubernetes cluster receives new container images (versioned from DockerHub) as part of the ArgoCD deployment.
Architectural Patterns & Design Principles
• Separation of concerns by distinctly drawing the client (UI/UX as per the Figma link), server-side logic, and persistence layers.
• How the system leverages containerization (Docker for MSSQL, webapp containerization) and orchestration (Kubernetes).
• CI/CD flow with clear steps starting from commit detection in GitLab, through Jenkins build and testing, container image publication, manifest update, and final deployment by ArgoCD.