{"id":22849993,"url":"https://github.com/ostrynska/weatherly","last_synced_at":"2026-05-04T08:33:52.080Z","repository":{"id":267707232,"uuid":"902096333","full_name":"Ostrynska/weatherly","owner":"Ostrynska","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-12T07:07:11.000Z","size":589,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T10:53:17.940Z","etag":null,"topics":["react","react-hooks","react-router","redux-toolkit","weather-app"],"latest_commit_sha":null,"homepage":"https://sage-lamington-a94ffa.netlify.app/","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/Ostrynska.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":"2024-12-11T22:37:57.000Z","updated_at":"2024-12-12T07:07:14.000Z","dependencies_parsed_at":"2024-12-12T00:36:37.020Z","dependency_job_id":null,"html_url":"https://github.com/Ostrynska/weatherly","commit_stats":null,"previous_names":["ostrynska/weaterly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ostrynska%2Fweatherly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ostrynska%2Fweatherly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ostrynska%2Fweatherly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ostrynska%2Fweatherly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ostrynska","download_url":"https://codeload.github.com/Ostrynska/weatherly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246426769,"owners_count":20775441,"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":["react","react-hooks","react-router","redux-toolkit","weather-app"],"created_at":"2024-12-13T05:06:05.380Z","updated_at":"2025-10-29T22:43:21.104Z","avatar_url":"https://github.com/Ostrynska.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weatherly App\n\n### Objective:\nDevelop a **Single Page Application (SPA)** to display weather information for selected cities.\n\n![image](https://github.com/user-attachments/assets/b165b13f-eef6-4b2b-9e77-b01f3731699b)\n\n### Features:\n\n1. **City List with Weather Cards**:\n   - Display a list of cities as cards.\n   - Each card contains:\n     - Brief weather information.\n     - On click: shows detailed information, navigates to a detailed page or deletes card.\n   - A button to refresh the weather data for the specific city.\n\n2. **Add/Remove Cities**:\n   - Add new cities to the list. A request is sent to fetch the current weather, and the city is displayed immediately.\n   - Remove cities from the list.\n\n3. **Data Persistence**:\n   - Store the list of cities in **LocalStorage**.\n   - On page reload:\n     - Previously selected cities remain visible.\n     - Weather data is updated automatically.\n\n4. **Detailed Weather View** *(Bonus)*:\n   - Display a graphical representation of temperature based on its value using hourly forecasts for the current day.\n\n![image](https://github.com/user-attachments/assets/73103f9a-af5b-458b-a202-7e60ad64217b)\n\n\n### Requirements:\n\n1. **API Integration**:\n   - Use [Weather API](https://openweathermap.org/).\n\n2. **Technology Stack**:\n   - **React** with **TypeScript**.\n   - State management using **Redux + Redux-Thunk** *(Recommend: Redux Toolkit)*.\n   - **React Router** for navigation.\n\n3. **Styling**:\n   - Use a CSS preprocessor *(preferably SCSS)*.\n   - Mobile-first design.\n\n4. **Code Quality**:\n   - Clean, well-formatted code.\n   - Use **ESLint** and **Prettier** for linting and formatting.\n\n5. **Testing**:\n   - Cover key (WeaterCard) components with tests using **Jest**.\n   - Optionally, include **React Testing Library**.\n\n6. **Component Design**:\n   - Functional components with **React Hooks**.\n\n---\n\n### Repository:\nFind the full project and implementation details in the [GitHub Repository](https://github.com/Ostrynska/weatherly).\n\n---\n\n### Installation and Setup:\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/Ostrynska/weatherly.git\n   cd weatherly-app\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Set up environment variables**:\n   - Create a `.env` file in the root directory.\n   - Add your OpenWeather API key:\n     ```\n     VITE_API_API_WEATHER=your_api_key_here\n     ```\n\n4. **Run the app**:\n   ```bash\n   npm run build\n   ```\n\n### Author:\n[Kateryna Ostrynska](https://github.com/Ostrynska)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostrynska%2Fweatherly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fostrynska%2Fweatherly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostrynska%2Fweatherly/lists"}