This repository contains the microservices for the Educational Platform project. The project is designed to provide RESTful web services for managing users, courses, and content delivery, following the microservices architecture principles. Docker and Kubernetes are used for containerization and orchestration, respectively.
- Node.js
- Express.js
- React.js
- SpringBoot
- Docker
- Kubernetes
- Ayeshmantha S.K.S. (IT21219320)
- Dissanayka S.D. (IT21827662)
- Kumara B.D.A.N. (IT21256266)
- Dias D.D.K.S. (IT21220760)
- Node.js and npm installed locally
- Docker Desktop (for local development)
- Kubernetes cluster (for production deployment)
-
Clone the repository:
git clone https://github.com/diaskalana/Study-Storm.git
-
Setup docker:
docker pull mysql docker pull mongo
-
Build Docker images for each microservice and frontend:
docker compose build
-
Run Docker container cluster:
docker compose up
-
Access the system via :
http://localhost:3000
- Set up a Kubernetes cluster (e.g., using Minikube or a cloud provider).
- Deploy the microservices to the Kubernetes cluster using Kubernetes deployment YAML files.
- Expose necessary services using Kubernetes services.
- Configure environment variables for the microservices to connect with each other and with the database.
- Test the deployed application to ensure everything is working as expected.