{"id":20676701,"url":"https://github.com/vitaliy-bezugly/api-integration-test","last_synced_at":"2025-03-10T18:47:16.858Z","repository":{"id":157436156,"uuid":"633474519","full_name":"vitaliy-bezugly/api-integration-test","owner":"vitaliy-bezugly","description":"Weather Forecast Coding Quiz","archived":false,"fork":false,"pushed_at":"2023-05-18T14:23:22.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T14:56:29.849Z","etag":null,"topics":["api","asp-net-core","commandline-tool","fluent-validation","quiz","refit"],"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/vitaliy-bezugly.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":"2023-04-27T15:18:18.000Z","updated_at":"2023-05-18T14:22:02.000Z","dependencies_parsed_at":"2023-07-19T17:01:04.039Z","dependency_job_id":null,"html_url":"https://github.com/vitaliy-bezugly/api-integration-test","commit_stats":null,"previous_names":["vitaliy-bezugly/api-integration-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2Fapi-integration-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2Fapi-integration-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2Fapi-integration-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitaliy-bezugly%2Fapi-integration-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitaliy-bezugly","download_url":"https://codeload.github.com/vitaliy-bezugly/api-integration-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242906619,"owners_count":20204863,"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","asp-net-core","commandline-tool","fluent-validation","quiz","refit"],"created_at":"2024-11-16T21:13:21.844Z","updated_at":"2025-03-10T18:47:16.835Z","avatar_url":"https://github.com/vitaliy-bezugly.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Forecast Coding Quiz\r\n\r\nThis project contains an API code and a Docker image for a weather forecast application. The purpose of this project is to create a proxy that will use the given API to display the received data, based on the user's selected region.\r\n\r\n## Getting Started\r\nTo get started, you will need to have the API code and/or the Docker image on your local machine. If you have the API code, you can build the Docker image by running the following command in the root directory of the project:\r\n\r\n```console\r\ndocker build -t weather-forecast .\r\n```\r\n\r\nIf you choose to run the Docker image, you can use the following command:\r\n\r\n```console\r\ndocker run --name weather-forecast-api -d -p 8080:80 weather-forecast\r\n```\r\n\r\nAlternatively, you can download image from \u003ccode\u003edockerhub\u003c/code\u003e by using command: \r\n\r\n```console\r\ndocker image pull vitaliiminaev/weather-forecast:v2\r\n```\r\n\r\n\r\n## API Description\r\n\r\nThe API has two endpoints, the first being HealthCheck, which is available at the root URL, and the second being WeatherForecast, which waits for an HttpGet request and returns a generated weather forecast. The endpoint URL for the WeatherForecast is:\r\n\r\n```console\r\nhttp(s)://localhost:{port}/WeatherForecast\r\n```\r\n\r\n## Usage\r\n\r\nOnce you have the API code or Docker image on your local machine, you can create a proxy (console application, web API or mobile application) that will use the given API to display the weather forecast for the selected region.\r\n\r\nFor example, if you create a console application, you can specify the region as a parameter at startup. If you create a mobile application, you can automatically obtain the user's region using GPS.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliy-bezugly%2Fapi-integration-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaliy-bezugly%2Fapi-integration-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliy-bezugly%2Fapi-integration-test/lists"}