A weather app build with Jetpack Compose, with focus on clean & multi-module architecture.
- First get an API key from The Weather API
- In the project root create a
credentials.propertiesfile. - Create a
WEATHER_API_KEYvariable and set the value as your api key
WEATHER_API_KEY = "<YOUR-API-KEY>"that's it! you can now build and run the project.
This app was build to demonstrate clean architecture and multi-module development in android.
- data: This module contains the classes communicating with REST APIs, local caches, mappers and repository implementation.
- domain: this is an independent module, containing the repository definition, models, and use-cases.
- presentation: contains, ui related classes,
composables, and resources. - app: this is the apps entry point, holding activities, koinModule initialization, and android build configurations.