A cloud-native implementation of two microservices deployed on GKE with persistent storage and automated CI/CD pipelines.
- Backend:
Node.js - Containerization:
Docker - Orchestration:
Kubernetes (GKE) - CI/CD:
GCP Cloud Build, Artifact Registry - Infrastructure:
Terraform - Storage:
Persistent Volume
- Node.js v16+
- Docker
gcloud,kubectl,terraformCLI tools installed
Container1 (API Service):
- Listens to RESTful HTTP requests via
/store-fileand/calculateendpoints. - Safeguards data by storing files in a shared persistent volume, ensuring no data is lost.
- Validates JSON requests and HTTP status codes for all API endpoints based on error conditions.
Container2 (Calculator):
- Parses CSV files from the shared volume to sum product amounts, returning the result in JSON format or an error response if the data is malformed
