Online Store Microservices is a scalable architecture for an online retail platform, built with Go, Docker, and Kubernetes. It features three core services—Product (PostgreSQL), Order (MongoDB), and Inventory (Redis)—with inter-service communication via HTTP and message broker NATS. Kubernetes manages deployment and scaling.
OnlineStore-Microservices is a demonstration of a microservices architecture for an online store. This project showcases how to build and deploy a set of microservices using Go, Kubernetes, Docker, and message broker NATS.
Clone the repository:
git clone https://github.com/mahdi-eth/online-store-microservices.git
cd online-store-microservices
Build Docker Images:
docker compose build
Deploy to Kubernetes:
kubectl apply -f kubernetes/pvcs/
kubectl apply -f kubernetes/deployments/
kubectl apply -f kubernetes/services/