WeatherCompose is a modern Android weather application built using Jetpack Compose and Kotlin. This project follows best practices to create a scalable, testable, and maintainable application.
🌤️ Live Weather Updates: Fetch real-time weather data for any location.
📍 Location Support: Get weather updates based on your current location.
🔍 Search Cities: Look up weather information for any city worldwide.
🌙 Light & Dark Theme: Adaptive UI based on system settings.
📊 Detailed Forecast: View temperature, humidity, wind speed, and more.
📌 Save Favorite Locations: Quick access to frequently checked cities.
Kotlin - Primary language
Jetpack Compose - Modern UI toolkit
MVVM Architecture - Clean and scalable architecture
Retrofit - Fetch weather data from APIs
Coroutines & Flow - Handle async operations efficiently
Room Database - Save favorite locations locally
Hilt - Dependency Injection
Material 3 - Modern UI design
Clone the repository:
git clone https://github.com/yourusername/WeatherCompose.git
Open the project in Android Studio.
Build and run the app on an emulator or device.
Get a free API key from OpenWeatherMap or any other weather API provider.
Add your API key in local.properties:
WEATHER_API_KEY=your_api_key_here
Sync the project and run the app.
Contributions are welcome! Feel free to open an issue or submit a pull request.