This is a simple Proof of Concept (PoC) of a set of microservices (MS) implemented in Node.js and deployed on Minikube as the Kubernetes (k8s) environment.
This project is growing and more microservices might be added in the future. Currently, the project includes the following microservices:
- api-gateway:
- Description: Responsible for handling all incoming requests into the Kubernetes cluster.
- Interface: Requests are accepted via REST.
- auth-service:
- Description: Responsible for validating logins and creating users.
- Interface: Requests are received via gRPC.
To run this project locally, you will need the following prerequisites:
- MongoDB: Ensure MongoDB is installed and running locally.
- Minikube: Ensure Minikube is installed and running.
- Hosts File Update: Update your
/etc/hosts
file to includetest.com
as follows:127.0.0.1 test.com
-
Start Minikube:
minikube start
-
Apply Kubernetes Manifests:
- Navigate to each microservice folder and apply the Kubernetes manifests:
kubectl apply -f <name_of_the_file>
-
Enable Minikube Tunnel:
minikube tunnel
- Additional microservices may be added to enhance the functionality of this PoC.
Feel free to contribute by opening issues or submitting pull requests.
Enjoy experimenting with microservices in Node.js and Kubernetes!