https://github.com/sturdytea/weatherapp
Yet Another WeatherApp
https://github.com/sturdytea/weatherapp
combine corelocation mvvm-architecture openweathermap-api swiftui
Last synced: about 2 months ago
JSON representation
Yet Another WeatherApp
- Host: GitHub
- URL: https://github.com/sturdytea/weatherapp
- Owner: sturdytea
- Created: 2024-08-15T15:56:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T17:19:20.000Z (over 1 year ago)
- Last Synced: 2025-12-28T16:23:59.341Z (6 months ago)
- Topics: combine, corelocation, mvvm-architecture, openweathermap-api, swiftui
- Language: Swift
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
It's a simple and minimalist weather app that provides current weather information. The app uses the OpenWeatherMap API to fetch real-time and hourly forecast weather data, air quality index, and other useful details.
## Technologies Used
- __Stack__: SwiftUI, Combine, CoreLocation
- __Architecture__: MVVM
- __Patterns__: DI
- __Third-Party APIs__: OpenWeatherMap API
## Installation
1. Clone the repo:
```
git clone https://github.com/github_username/repo_name.git
```
2. Open the project in Xcode:
```
cd AstanaWeatherApp
open AstanaWeatherApp.xcodeproj
```
## Configuration
To use the app, you need an API key.
1. Sign in and get an free API key at [https://openweathermap.org](https://openweathermap.org)
2. Edit __WeatherManager.swift__, replace constant apiKey with your API key:
```
// Before:
private let apiKey = Bundle.main.infoDictionary?["API_KEY"] as? String ?? "API Key"
// After
private let apiKey = "your_api_key"
```
## Screenshots
> There will be more later
## Future Enhancements
- [ ] __Replace weather icon with 3D Images.__: UI looks too colorless.
- [ ] __Add City Search.__: Allow user to search for weather in other cities.
- [ ] __Build Widget for Home Screen.__: Users should know current weather without opening the app.