{"id":22911121,"url":"https://github.com/wdesimini/weather","last_synced_at":"2026-04-14T18:34:20.472Z","repository":{"id":268013963,"uuid":"903020790","full_name":"wdesimini/Weather","owner":"wdesimini","description":"Weather app using MVVM, Concurrency, SwiftUI","archived":false,"fork":false,"pushed_at":"2024-12-14T00:07:39.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T10:45:49.015Z","etag":null,"topics":["async-await","concurrency","dependency-injection","mvvm","swift","swift-packages","swiftui","unit-testing","xctest"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/wdesimini.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-13T18:57:21.000Z","updated_at":"2024-12-13T20:00:49.000Z","dependencies_parsed_at":"2024-12-13T20:29:38.340Z","dependency_job_id":null,"html_url":"https://github.com/wdesimini/Weather","commit_stats":null,"previous_names":["wdesimini/weather"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdesimini%2FWeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdesimini%2FWeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdesimini%2FWeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdesimini%2FWeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdesimini","download_url":"https://codeload.github.com/wdesimini/Weather/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628421,"owners_count":20808106,"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":["async-await","concurrency","dependency-injection","mvvm","swift","swift-packages","swiftui","unit-testing","xctest"],"created_at":"2024-12-14T04:14:37.634Z","updated_at":"2026-04-14T18:34:20.407Z","avatar_url":"https://github.com/wdesimini.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather\n\nThis app uses [Weather API](https://www.weatherapi.com/) to fetch weather data and features MVVM architecture, SwiftUI, local-package-based modular design and comprehensive unit tests. \n\n## Quick Start\n\nFollow these steps to get started:\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/wdesimini/Weather.git\n   cd weather\n   ```\n\n2. **Open the Project in Xcode**\n   Open the `.xcodeproj` file in Xcode.\n\n3. **Add Your API Key**\n   - Navigate to `APIService.swift` located in the `Networking` package.\n   - Replace `WEATHER_API_KEY` with your actual API key:\n     ```swift\n     public enum APIEnvironment {\n         public static let key = \"WEATHER_API_KEY\"\n     }\n     ```\n\n4. **Run the App**\n   - Select a simulator or a connected device.\n   - Build and run the app using the play button in Xcode or by pressing `Cmd + R`.\n\n## Features\n\n### MVVM Architecture\nUses a combination of dependency-injected `@Observable` ViewModels and async/await-based Services.\n\n### Modular Local Packages\nThe project is divided into reusable Swift packages, making it easier to maintain, scale, and test.\n\n### Unit Testing\nIncludes unit tests for ViewModels and Services using the XCTest framework. Mock services are provided to test ViewModels in isolation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdesimini%2Fweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdesimini%2Fweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdesimini%2Fweather/lists"}