{"id":19267402,"url":"https://github.com/luzefiru/odin-weather-app","last_synced_at":"2025-09-05T02:49:11.563Z","repository":{"id":186919150,"uuid":"612918559","full_name":"Luzefiru/odin-weather-app","owner":"Luzefiru","description":"A weather forecast app that uses OpenWeatherMap's API to practice asynchronous JavaScript \u0026 API data fetching.","archived":false,"fork":false,"pushed_at":"2023-03-13T05:58:03.000Z","size":46884,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T12:12:58.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://luzefiru.github.io/odin-weather-app/","language":"JavaScript","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/Luzefiru.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":"2023-03-12T11:31:28.000Z","updated_at":"2023-03-26T04:09:36.000Z","dependencies_parsed_at":"2023-08-08T08:51:10.750Z","dependency_job_id":null,"html_url":"https://github.com/Luzefiru/odin-weather-app","commit_stats":null,"previous_names":["luzefiru/odin-weather-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-weather-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-weather-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-weather-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzefiru%2Fodin-weather-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzefiru","download_url":"https://codeload.github.com/Luzefiru/odin-weather-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371808,"owners_count":19790888,"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":[],"created_at":"2024-11-09T20:11:49.142Z","updated_at":"2025-02-23T19:42:09.650Z","avatar_url":"https://github.com/Luzefiru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odin-weather-app\n\nA weather forecast app that uses OpenWeatherMap's API to practice asynchronous JavaScript \u0026amp; API data fetching.\n\nThis project allowed me to practice using the browser's `fetch()` command to do Cross-Origin Resource Sharing with an external API -- specifically the [OpenWeatherMap API](https://openweathermap.org/api). I used Promises and `async/await` to parse the data asynchronously utilizing the JavaScript Event Loop.\n\n```JavaScript\nasync function getWeatherData(cityInput) {\n  const response = await fetch(\n    `https://api.openweathermap.org/data/2.5/weather?q=${cityInput}\u0026units=metric\u0026appid=${apiKey}`,\n    { mode: 'cors' }\n  );\n  const weatherData = await response.json();\n\n  return weatherData;\n}\n```\n\nI need to improve on:\n\n- writing clean code\n- planning out projects before doing them\n- writing code with browser load speeds in mind\n\n# Output\n\n### [Visit the Website Here](https://luzefiru.github.io/odin-weather-app/)\n\n\u003cimg src=\"./requirements/website-screenshot.png\"\u003e\n\n# Requirements\n\nThese were the requirements in The Odin Project's [Project: Weather App](https://www.theodinproject.com/lessons/node-path-javascript-weather-app) site to serve as project specifications. Website aesthetic choices and implementation solely depended on me, the programmer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzefiru%2Fodin-weather-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzefiru%2Fodin-weather-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzefiru%2Fodin-weather-app/lists"}