Skip to content

CMP-WeatherApp is a mobile application developed using Compose Multiplatform.

License

Notifications You must be signed in to change notification settings

giorgioprovenzale/CMP-WeatherApp

Repository files navigation

Compose Multiplatform Weather App

This is a Compsoe Multiplatform weather application built using Kotlin Multiplatform and Jetpack Compose. It allows users to search for locations, view current weather conditions, and keeps track of recent searches using a local database.

Inspiration

This project was inspired by Philipp Lackner and his excellent video tutorial. You can find his work here: https://www.youtube.com/watch?v=WT9-4DXUqsM

Video

Android

android.mp4

IOS

ios.mp4

Features

  • Multiplatform: Built with Compose Multiplatform, ensuring code reusability across different platforms (Android, iOS).
  • Location Search: Allows users to search for weather information by location.
  • Current Weather Data: Displays real-time weather information such as temperature, conditions, and wind speed.
  • Forecast Data: Displays forecast information such as temperature, conditions, and wind speed.
  • Recent Searches: Saves recently searched locations to a local database for quick access.
  • Current Location: Fetches user current location using Compass library.

Tech Stack

  • Kotlin Multiplatform: For cross-platform development.
  • Jetpack Compose: For building shared declarative UI.
  • MVVM Architecture: Follows the Model-View-ViewModel architectural pattern.
  • Jetpack Navigation: For navigation between screens.
  • ViewModel: To manage UI-related data and lifecycle.
  • Room: For local database management of recent searches.
  • Koin: Dependencies injection.
  • Compass: For location and permission management: https://github.com/jordond/compass
  • Open-Meteo.com: For weather data: open-meteo.com

Architectural Patterns

Dependencies & Resources

Contributing

Contributions to the project are welcome. Feel free to submit pull requests or open issues to suggest improvements.

About

CMP-WeatherApp is a mobile application developed using Compose Multiplatform.

Resources

License

Stars

Watchers

Forks