{"id":15119850,"url":"https://github.com/mahdi-eth/online-store-microservices","last_synced_at":"2026-03-01T00:31:15.928Z","repository":{"id":257196144,"uuid":"850566271","full_name":"mahdi-eth/online-store-microservices","owner":"mahdi-eth","description":"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.","archived":false,"fork":false,"pushed_at":"2024-09-01T06:28:42.000Z","size":24,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T06:33:17.957Z","etag":null,"topics":["backend-development","containerization","devops","distributed-systems","docker","go","kubernetes","message-broker","microservices","nats","online-store","scalability","service-discovery"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahdi-eth.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-01T06:27:45.000Z","updated_at":"2025-10-01T15:05:16.000Z","dependencies_parsed_at":"2024-09-15T08:56:09.890Z","dependency_job_id":"eaa3fa35-b184-4617-b851-ba0d6cb1f3d9","html_url":"https://github.com/mahdi-eth/online-store-microservices","commit_stats":null,"previous_names":["mahdi-eth/online-store-microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahdi-eth/online-store-microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdi-eth%2Fonline-store-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdi-eth%2Fonline-store-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdi-eth%2Fonline-store-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdi-eth%2Fonline-store-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahdi-eth","download_url":"https://codeload.github.com/mahdi-eth/online-store-microservices/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdi-eth%2Fonline-store-microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29956187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-development","containerization","devops","distributed-systems","docker","go","kubernetes","message-broker","microservices","nats","online-store","scalability","service-discovery"],"created_at":"2024-09-26T02:00:28.318Z","updated_at":"2026-03-01T00:31:15.885Z","avatar_url":"https://github.com/mahdi-eth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OnlineStore-Microservices\n\n## Overview\nOnlineStore-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. \n\n## Features\n- **Product Service**: Manages product information using PostgreSQL.\n- **Order Service**: Handles order processing with MongoDB.\n- **Inventory Service**: Tracks inventory levels with Redis.\n- **Inter-service Communication**: Uses HTTP and message brokers for communication.\n- **Deployment \u0026 Orchestration**: Managed using Kubernetes for scalable and reliable deployments.\n\n## Technologies\n- **Go**: Programming language used for microservices development.\n- **Kubernetes**: Orchestration platform for containerized applications.\n- **Docker**: Containerization for consistent deployment environments.\n- **NATS**: Message brokers for asynchronous communication.\n- **PostgreSQL**: Relational database for the Product Service.\n- **MongoDB**: NoSQL database for the Order Service.\n- **Redis**: In-memory data structure store for the Inventory Service.\n\n## Getting Started\n\n### Prerequisites\n- Docker\n- Kubernetes\n- kubectl (Kubernetes CLI)\n- Go (for building the microservices)\n\n### Installation\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/mahdi-eth/online-store-microservices.git\n    cd online-store-microservices\n    ```\n\n2. **Build Docker Images:**\n    ```bash\n        docker compose build\n    ```\n\n3. **Deploy to Kubernetes:**\n    - Apply the Kubernetes manifests:\n      ```bash\n      kubectl apply -f kubernetes/pvcs/\n      kubectl apply -f kubernetes/deployments/\n      kubectl apply -f kubernetes/services/\n      ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdi-eth%2Fonline-store-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahdi-eth%2Fonline-store-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdi-eth%2Fonline-store-microservices/lists"}