/ and /api)This architecture represents a self-managed Kubernetes cluster deployed on-premises, built to host a large-scale web application with real-world traffic. The system follows a microservices-based design, separating frontend, backend, and supporting services while ensuring:
It is optimized for environments where cloud is not preferred, giving full control over infrastructure.

At a high level, the system works like this:
User → Cloudflare → Load Balancer → Kubernetes Ingress → Services → Pods (Frontend/Backend) → MongoDB Replica Set → Response → User
The architecture uses a secure VPC design with public and private subnets:
Key Advantage:
Even if pods restart, data remains intact and accessible.
Key Design Choice:
All application services are stateless, making scaling easy and reliable.
✔ Supports: