{"id":28615612,"url":"https://github.com/rasheedhendawi/bazar-book-store-microservices","last_synced_at":"2026-03-07T09:33:08.380Z","repository":{"id":287437933,"uuid":"963434789","full_name":"RasheedHendawi/Bazar-Book-Store-MicroServices","owner":"RasheedHendawi","description":"The World's smallest book store.","archived":false,"fork":false,"pushed_at":"2025-06-07T23:18:55.000Z","size":1753,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T19:27:45.428Z","etag":null,"topics":["asp-net-core","cache-storage","csharp","docker-compose","load-balancer","microservices","replication","round-robin"],"latest_commit_sha":null,"homepage":"","language":"C#","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/RasheedHendawi.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-04-09T17:16:31.000Z","updated_at":"2025-06-07T23:18:58.000Z","dependencies_parsed_at":"2025-06-06T23:39:30.300Z","dependency_job_id":null,"html_url":"https://github.com/RasheedHendawi/Bazar-Book-Store-MicroServices","commit_stats":null,"previous_names":["rasheedhendawi/bazar-book-store","rasheedhendawi/bazar-book-store-microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RasheedHendawi/Bazar-Book-Store-MicroServices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RasheedHendawi%2FBazar-Book-Store-MicroServices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RasheedHendawi%2FBazar-Book-Store-MicroServices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RasheedHendawi%2FBazar-Book-Store-MicroServices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RasheedHendawi%2FBazar-Book-Store-MicroServices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RasheedHendawi","download_url":"https://codeload.github.com/RasheedHendawi/Bazar-Book-Store-MicroServices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RasheedHendawi%2FBazar-Book-Store-MicroServices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30210851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: 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":["asp-net-core","cache-storage","csharp","docker-compose","load-balancer","microservices","replication","round-robin"],"created_at":"2025-06-12T02:09:29.154Z","updated_at":"2026-03-07T09:33:08.363Z","avatar_url":"https://github.com/RasheedHendawi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Bazar.com - Microservice Bookstore CLI\n\nA .NET-based CLI application that simulates a mini online bookstore where users can browse, search, and purchase books — all powered by Dockerized microservices.\n\n---\n\n## 🚀 Features\n\n-  Microservices: CatalogService, OrderService, and FrontendService\n-  CLI-based user interface for interaction\n-  Docker Compose for seamless orchestration\n-  File-based data persistence\n-  Live-rebuild support with `docker compose watch`\n\n---\n\n## 🧰 Tech Stack\n\n- C# (.NET 8)\n- Docker \u0026 Docker Compose\n- REST APIs (ASP.NET Core)\n- JSON file storage\n\n---\n\n## ⚙️ Getting Started\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/your-username/Bazar-Book-Store.git\ncd Bazar.com\n```\nThen after moveing to the Bazar.com you will use docker-compose\n```swift\ndocker-compose up --build\n```\nNow press V button to open it from the desktop docker application and after this open the frontend Service then exec option and hit \n```bash\ndotnet UserAction.dll build\n```\nNow you will see the main menue like this \n```bash\n📚 Welcome to the Online Bookstore!\n1. View All Catalog Items\n2. View Catalog Item\n3. Purchase Book\n4. Search Book Topic\n5. Exit\n```\n## API Reference\n* Catalog Service\n\n| Method | Endpoint | Usage|\n|-------|----------- |---|\n|  GET    | /catalog/info |List all books|\n|  Get    | /catalog/info/{id}     |Get book by ID|\n|  Post  | /catalog/update/decrement/{id}       |Decrement stock|\n|  Get   | /catalog/search/{topic}     |Search by topic|\n|  Post  | /order/purchase/{itemNumber}|Purchase an item|\n\n* Order Service\n\n| Method | Endpoint | Usage|\n|-------|----------- |---|\n|  Post   | /order/purchase/{id} |Purchase book by ID|\n\n* Replicas-Requirement\n\n| Method | Endpoint | Usage|\n|-------|----------- |---|\n|  GET    | /{service-name}/sync/{id} |Sync the data|\n\n## TODO\n- Add authentication\n\n- Add database support\n\n- Add unit tests\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasheedhendawi%2Fbazar-book-store-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasheedhendawi%2Fbazar-book-store-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasheedhendawi%2Fbazar-book-store-microservices/lists"}