A simple blog app for demonstrating Microservices with node js, running with docker and kubernetes. Using async communicaton with custom event-bus.
- User can add post (Post Service)
- User can add comment on post (Comment Service)
- User can see all the post and comments (Query Service)
- User can't have "orange" in their comment, if they do it will be flagged. (Moderation Service)
- Comments Service
- Post Service
- Event-bus
- Moderation Service
- Query Service
Client: React, Axios
Server: Node, Express
Deployment: Docker, Kubernetes, Skaffold
Kubernetes: Deployment, ClusterIp Service, Load balancer, Ingress-nginx,
Clone the repository. Install docker and enable kubernetes. Install Skaffold Cli.
Edit your host file (if windows "C:\Windows\System32\drivers\etc\hosts"). Add this
127.0.0.1 posts.com
Then inside blog-micoservices-node/infra/ingress-nginx/ run
kubectl apply -f ingress-controller.yaml
Then in root folder run
skaffold dev
Now visit
posts.com:81