{"id":21504268,"url":"https://github.com/anhcaooo/awesome-weather","last_synced_at":"2026-04-28T10:37:04.150Z","repository":{"id":190871392,"uuid":"563390408","full_name":"AnhCaooo/awesome-weather","owner":"AnhCaooo","description":"Angular web application that can be used for searching information about current weather conditions for a specific city.","archived":false,"fork":false,"pushed_at":"2022-11-14T01:52:02.000Z","size":887,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T22:01:59.582Z","etag":null,"topics":["angular","cypress","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/AnhCaooo.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}},"created_at":"2022-11-08T14:12:42.000Z","updated_at":"2022-12-07T15:30:46.000Z","dependencies_parsed_at":"2023-08-26T20:28:08.656Z","dependency_job_id":null,"html_url":"https://github.com/AnhCaooo/awesome-weather","commit_stats":null,"previous_names":["anhcaooo/awesome-weather"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnhCaooo/awesome-weather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnhCaooo%2Fawesome-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnhCaooo%2Fawesome-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnhCaooo%2Fawesome-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnhCaooo%2Fawesome-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnhCaooo","download_url":"https://codeload.github.com/AnhCaooo/awesome-weather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnhCaooo%2Fawesome-weather/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262437956,"owners_count":23311065,"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":["angular","cypress","typescript"],"created_at":"2024-11-23T18:55:34.807Z","updated_at":"2026-04-28T10:37:02.324Z","avatar_url":"https://github.com/AnhCaooo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Awesome Weather\n\nAngular web application that can be used for searching information about current weather conditions for a specific city.\n\n## Description\n\nThe app can do:\n\n- allow user to enter a city name, country code\n  - user is only able to enter text characters and comma. No special characters, digits are allowed and the minimum length is 3.\n  - in case a user enters a city name which is not unique and exist in multiple countries (ex: London), they will receive the info for clarify their selection. There is an instruction next to input field to guide how to enter a city name with country code\n  - in case a user enters a city name that is not existed, the application will print 'No weathers available'.\n- posibility to switch between standard unit (Kelvin, m/s), metric unit (Celcius, m/s) and imperial unit (Fahrenheit, mph)\n- selected location and units will be stored in user's browser and prepopulated in the next time they visit (weather data in the specific unit will be similar with preivous access).\n- unit test (component test) and e2e test are available. Both testing methods are using Cypress\n\n## Preparations\n\nCreate and insert your API key to /src/assets/config.ts.\n\n`export const openWeatherApiKey = '\u003cYOUR_OPENWEATHER_API_KEY\u003e';`\n\nInstall npm package before use this application.\n\n`npm install`\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Running unit tests and end-to-end tests with Cypress\n\nRun `ng e2e` to execute the unit tests and end-to-end tests via [Cypress](https://www.cypress.io/). To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\nIf you run `npx cypress open`, you need to execute command `ng serve` at the same time in order to execute the test.\n\n### Unit tests\n\n- Option 1: Use Cypress GUI\n\nOpen Cypress GUI by `ng e2e` or combine `npx cypress open` and `ng serve`, then select **Component Testing**\n\n- Option 2: Use command line\n\n`npx cypress --component`\n\n### End-to-end tests\n\nOpen Cypress GUI by `ng e2e` or combine `npx cypress open` and `ng serve`, then select **E2E Testing**\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhcaooo%2Fawesome-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanhcaooo%2Fawesome-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhcaooo%2Fawesome-weather/lists"}