{"id":25365942,"url":"https://github.com/cemutku/api-gateway-example","last_synced_at":"2025-04-09T05:28:21.031Z","repository":{"id":275040651,"uuid":"262561597","full_name":"cemutku/api-gateway-example","owner":"cemutku","description":"Ocelot Api Gateway Example","archived":false,"fork":false,"pushed_at":"2020-05-09T17:21:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T23:51:30.143Z","etag":null,"topics":["api-gateway","ocelotsample"],"latest_commit_sha":null,"homepage":null,"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/cemutku.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":"2020-05-09T12:02:03.000Z","updated_at":"2020-05-09T17:21:22.000Z","dependencies_parsed_at":"2025-01-30T21:21:09.599Z","dependency_job_id":"3e7fad7e-f846-40f3-ba4e-b6198aa4f5ee","html_url":"https://github.com/cemutku/api-gateway-example","commit_stats":null,"previous_names":["cemutku/api-gateway-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemutku%2Fapi-gateway-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemutku%2Fapi-gateway-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemutku%2Fapi-gateway-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemutku%2Fapi-gateway-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemutku","download_url":"https://codeload.github.com/cemutku/api-gateway-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247984847,"owners_count":21028580,"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":["api-gateway","ocelotsample"],"created_at":"2025-02-14T23:51:19.381Z","updated_at":"2025-04-09T05:28:20.999Z","avatar_url":"https://github.com/cemutku.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ocelot Api Gateway Example\n\nThis project is an example of Ocelot API Gateway implementation. It takes requests (API calls) and routes them to the microservices (BasketAPI and ProductAPI). Thanks to API Gateway our application has a single entrypoint.\n\n## Development\n\nRun all projects separately with `dotnet run` command on its own project directory.\n\n- Basket API -\u003e http://localhost:5006/api/basket\n- Product API -\u003e http://localhost:5005/api/product\n- Ocelot ApiGateway -\u003e http://localhost:5000/\n\nNow we have three application running on above given ports. We'll access these applications via Api Gateway (localhost:5000). These routes are defined in \"ocelot.json\" file in the OcelotApiGateway project. We can access our services llike below:\n\n- http://localhost:5000/test/product\n- http://localhost:5000/test/product/7\n- http://localhost:5000/test/basket\n- http://localhost:5000/test/basket/7\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemutku%2Fapi-gateway-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemutku%2Fapi-gateway-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemutku%2Fapi-gateway-example/lists"}