Click here to view architecture diagrams
- Kubernetes (Container Orchestration)
- Docker 🐳 (Containerization)
- Travis CI 👷♂️ (Testing and Continuous Integration)
- React ⚛ (frontend)
- Node JS, Express (backend)
- Postgres (database) 🐘
- Redis (caching)
Deployment | Description |
---|---|
Client |
|
Server |
|
Postgres |
|
Redis |
|
- Server gets data from the Redis server - If list is empty then server gets data from Postgres - This data is added to Redis
- Homepage - Enter name and semester. This gives you the list of subjects. Enter marks
- List of names and CGPA. Caching Mechanism Applied here
- Travis CI dashboard
Setup the Ingress Nginx Controller
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.48.1/deploy/static/provider/cloud/deploy.yaml
Check the installation
kubectl get pods -n ingress-nginx
Create all the Kubernetes Objects
kubectl apply -f k8s/
If there is an error try deleting the server pod. An error may occur if the server pod is started before Redis and Postgres
kubectl delete pod <pod_name>
Check out the app on localhost:80