{"id":31824375,"url":"https://github.com/steppacodes/orderflow","last_synced_at":"2026-02-16T23:05:40.759Z","repository":{"id":318665506,"uuid":"1072240954","full_name":"SteppaCodes/OrderFlow","owner":"SteppaCodes","description":"E-commerce backend designed around event-driven microservices","archived":false,"fork":false,"pushed_at":"2025-10-08T13:03:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T15:07:40.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/SteppaCodes.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-08T12:59:05.000Z","updated_at":"2025-10-08T13:03:21.000Z","dependencies_parsed_at":"2025-10-08T15:07:43.066Z","dependency_job_id":"48a9b36b-04ba-4e9d-be19-cfab42cf9ef2","html_url":"https://github.com/SteppaCodes/OrderFlow","commit_stats":null,"previous_names":["steppacodes/orderflow"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/SteppaCodes/OrderFlow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteppaCodes%2FOrderFlow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteppaCodes%2FOrderFlow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteppaCodes%2FOrderFlow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteppaCodes%2FOrderFlow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteppaCodes","download_url":"https://codeload.github.com/SteppaCodes/OrderFlow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteppaCodes%2FOrderFlow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007596,"owners_count":26084333,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-11T15:23:09.343Z","updated_at":"2025-10-11T15:23:10.868Z","avatar_url":"https://github.com/SteppaCodes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OrderFlow\r\n**OrderFlow** is a modular, event-driven backend system built with **Django REST Framework** and **RabbitMQ**, demonstrating how distributed services communicate asynchronously in a microservice architecture.\r\nIt simulates an **e-commerce order workflow**, where independent services handle users, products, orders, payments, and notifications coordinated entirely through **domain events**.\r\n\r\nThis is a learning and demonstration project that shows how to:\r\n- Structure multiple Django services cleanly\r\n- Use **RabbitMQ** for event-driven communication\r\n- Handle **cross-service data consistency**\r\n---\r\n\r\n## 🧱 Architecture Overview\r\n\r\nEach microservice owns its **database**, **logic**, and **API**.  \r\nThey communicate asynchronously via RabbitMQ, ensuring decoupled and scalable design.\r\n\r\n### 🧠 Services\r\n\r\n| Service | Description | Events Published | Events Consumed |\r\n|----------|--------------|------------------|------------------|\r\n| **User Service** | Manages users, authentication | `user.created` | — |\r\n| **Product Service** | Manages products \u0026 inventory | `product.stock_updated`, `product.out_of_stock` | `order.placed` |\r\n| **Order Service** | Handles order creation \u0026 status | `order.placed`, `order.completed` | `payment.successful`, `payment.failed` |\r\n| **Payment Service** | Simulates payment processing | `payment.successful`, `payment.failed` | `order.placed` |\r\n| **Notification Service** | Sends notifications/logs | — | All others |\r\n\r\n\r\n🐳 Running Locally with Docker\r\n1️⃣ Clone the repo\r\ngit clone https://github.com/\u003cyour-username\u003e/orderflow.git\r\ncd orderflow\r\n\r\n2️⃣ Build \u0026 start services\r\ndocker compose up --build\r\n\r\n\r\nThis will start:\r\n\r\nRabbitMQ (ports 5672, 15672)\r\n\r\nUser, Product, Order, Payment, and Notification services\r\n\r\nPostgreSQL for each service\r\n\r\n3️⃣ Access RabbitMQ Dashboard\r\n\r\nVisit → http://localhost:15672\r\n\r\nDefault login: guest / guest\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteppacodes%2Forderflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteppacodes%2Forderflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteppacodes%2Forderflow/lists"}