{"id":19318493,"url":"https://github.com/andreypomortsev/startducks_orders","last_synced_at":"2026-04-09T17:32:32.928Z","repository":{"id":242653693,"uuid":"810157072","full_name":"andreypomortsev/startducks_orders","owner":"andreypomortsev","description":"This repository contains the source code for a scalable order processing system inspired by Starbucks. The system utilizes FastAPI to handle HTTP requests, Redis for message queuing, and PostgreSQL for managing inventory.","archived":false,"fork":false,"pushed_at":"2024-06-04T12:31:19.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T01:39:13.322Z","etag":null,"topics":["docker","docker-compose","fastapi","postgresql","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreypomortsev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-04T06:47:53.000Z","updated_at":"2024-07-04T15:11:42.000Z","dependencies_parsed_at":"2024-11-10T01:30:08.206Z","dependency_job_id":null,"html_url":"https://github.com/andreypomortsev/startducks_orders","commit_stats":null,"previous_names":["andreypomortsev/startducks_orders"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreypomortsev/startducks_orders","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreypomortsev%2Fstartducks_orders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreypomortsev%2Fstartducks_orders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreypomortsev%2Fstartducks_orders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreypomortsev%2Fstartducks_orders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreypomortsev","download_url":"https://codeload.github.com/andreypomortsev/startducks_orders/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreypomortsev%2Fstartducks_orders/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547771,"owners_count":26004772,"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-05T02:00:06.059Z","response_time":54,"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":["docker","docker-compose","fastapi","postgresql","redis"],"created_at":"2024-11-10T01:18:46.903Z","updated_at":"2025-10-06T01:39:17.282Z","avatar_url":"https://github.com/andreypomortsev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starducks Scalable Order Processing System\n\nThis project provides a scalable order processing system for a coffee shop, inspired by Starbucks. This repository contains the source code for a scalable order processing system inspired by Starbucks. The system utilizes FastAPI to handle HTTP requests, Redis for message queuing, and PostgreSQL for managing inventory.\n\n## File Structure\n\n```\nstartducks_orders/\n├── api/\n│   ├── Dockerfile\n│   ├── Dockerfile.test\n│   ├── main.py\n│   ├── requirements.txt\n│   └── tests/\n│       ├── __init__.py\n│       ├── test_main.py\n│       └── test_data.sql\n├── worker/\n│   ├── __init__.py\n│   ├── Dockerfile\n│   ├── worker.py\n│   └── requirements.txt\n├── database/\n│   ├── Dockerfile\n│   └── init.sql\n├── docker-compose.yml\n├── LICENSE\n└── README.md\n\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Docker\n- Docker Compose\n\n### Running the Services\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/andreypomortsev/startducks_orders.git\n   cd startducks_orders\n   ```\n\n2. Build and start the services:\n   ```sh\n   docker-compose up --build\n   ```\n\n3. The FastAPI service will be available at `http://localhost:8000`.\n\n## Endpoints\n\n- `POST /order`: Create a new order\n  - Request Body: `{\"preferences\": [\"Эспрессо\", \"Капучино\"]}`\n  - Response: `{\"result\": \"Order \u003corder_id\u003e received\"}`\n\n## Authors\n\n- [Andrei Pomortsev](https://www.linkedin.com/in/andreypomortsev/)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](.LICENSE) file for details.\n```\n\nThis structure and the provided Docker configurations will help you containerize and manage the services efficiently. The use of Docker Compose allows for easy orchestration of the different services involved in the system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreypomortsev%2Fstartducks_orders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreypomortsev%2Fstartducks_orders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreypomortsev%2Fstartducks_orders/lists"}