{"id":28264345,"url":"https://github.com/mlondimchunu/ecommerce-microservices-app","last_synced_at":"2026-05-05T15:33:42.428Z","repository":{"id":293281441,"uuid":"983489997","full_name":"MlondiMchunu/ecommerce-microservices-app","owner":"MlondiMchunu","description":"This is an e-commerce microservices application.","archived":false,"fork":false,"pushed_at":"2025-06-06T11:03:20.000Z","size":7882,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T11:33:58.850Z","etag":null,"topics":["docker","graphql","kafka","kubernetes","mongodb","node-js","postgresql","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MlondiMchunu.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,"zenodo":null}},"created_at":"2025-05-14T13:07:54.000Z","updated_at":"2025-06-06T11:03:23.000Z","dependencies_parsed_at":"2025-05-29T08:39:06.180Z","dependency_job_id":null,"html_url":"https://github.com/MlondiMchunu/ecommerce-microservices-app","commit_stats":null,"previous_names":["mlondimchunu/ecommerce-microservices-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MlondiMchunu/ecommerce-microservices-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MlondiMchunu%2Fecommerce-microservices-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MlondiMchunu%2Fecommerce-microservices-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MlondiMchunu%2Fecommerce-microservices-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MlondiMchunu%2Fecommerce-microservices-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MlondiMchunu","download_url":"https://codeload.github.com/MlondiMchunu/ecommerce-microservices-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MlondiMchunu%2Fecommerce-microservices-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260518736,"owners_count":23021330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","graphql","kafka","kubernetes","mongodb","node-js","postgresql","typescript"],"created_at":"2025-05-20T09:10:31.722Z","updated_at":"2026-05-05T15:33:42.422Z","avatar_url":"https://github.com/MlondiMchunu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecommerce-microservices-app\nThis is an Inventory, Order and Users service for a microservices e-commerce application.\n\nThe project structure is of type Model-Service-Controller pattern, essential for maintaining clean, modular, and scalable code:\n\n## system architecture\n\n![image](https://github.com/user-attachments/assets/de15049a-e290-4afe-aab8-0309ad184ad8)\n\n\n## steps to running the project\n  ### 1. clone the project to your local machine\n      git clone https://github.com/MlondiMchunu/ecommerce-microservices-app.git\n  ### 2. install docker and navigate to the project directory and run (run locally): \n      docker compose up --build \n\n## testing apis\n  ### 1. inventory service\n  ##### 1.1 Create product\n        Method: POST\n        URL: http://localhost:3000/products\n        Body (raw JSON):\n        {   \n          \"name\": \"Apple Phone\",\n          \"price\": 399.99,   \n          \"description\": \"Iphone 7\"\n        }\n   ##### 1.2. GET all products\n         Method: GET\n         URL: http://localhost:3000/products\n   ##### 1.3 Get a Product by ID\n         Method: GET\n        URL: http://localhost:3000/products/{productId} (Replace {productId} with an actual ID from the previous request)\n   ##### 1.4 Update a Product\n         Method: PUT\n         URL: http://localhost:3000/products/{productId}\n         Body (raw JSON):\n   ##### 1.5 Delete a Product\n         Method: DELETE\n         URL: http://localhost:3000/products/{productId} \n\n  ### 2. orders service\n  ### 3. users service\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlondimchunu%2Fecommerce-microservices-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlondimchunu%2Fecommerce-microservices-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlondimchunu%2Fecommerce-microservices-app/lists"}