Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gautam84/weathertoday
β
WeatherToday is a simple weather app built using the MVI architecture pattern. It uses the Android phone's gps to retrieve user's current location and then retrieves weather information using open-meteo API.
https://github.com/gautam84/weathertoday
android android-app android-application android-datastore android-jetpack android-jetpack-compose android-location android-retrofit kotlin kotlin-android kotlin-coroutines location-services material material-design material-ui mvi-architecture retrofit retrofit2
Last synced: 1 day ago
JSON representation
β WeatherToday is a simple weather app built using the MVI architecture pattern. It uses the Android phone's gps to retrieve user's current location and then retrieves weather information using open-meteo API.
- Host: GitHub
- URL: https://github.com/gautam84/weathertoday
- Owner: gautam84
- License: mit
- Created: 2023-05-15T19:46:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-11T11:03:00.000Z (about 1 year ago)
- Last Synced: 2024-04-17T23:59:35.453Z (10 months ago)
- Topics: android, android-app, android-application, android-datastore, android-jetpack, android-jetpack-compose, android-location, android-retrofit, kotlin, kotlin-android, kotlin-coroutines, location-services, material, material-design, material-ui, mvi-architecture, retrofit, retrofit2
- Language: Kotlin
- Homepage:
- Size: 10.5 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![GitHub Cards Preview](https://github.com/gautam84/WeatherToday/blob/master/art/WeatherTodayMockUp.png?raw=true)
# β WeatherToday
WeatherToday is a simple weather app built using the MVI architecture pattern. It uses the Android phone's gps to retrieve user's current location and then retrieves weather information using open-meteo API.## Screenshots π±
Main | Settings
--- | ---
![](https://github.com/gautam84/WeatherToday/blob/master/screenshots/Main.jpeg) | ![](https://github.com/gautam84/WeatherToday/blob/master/screenshots/Settings.jpeg)## Build With π
- [Kotlin](https://kotlinlang.org/) - First class and official programming language for Android
development.
- [Jetpack Compose](https://developer.android.com/jetpack/compose) - Jetpack Compose is Androidβs
modern toolkit for building native UI.
- [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) - A coroutine is a
concurrency design pattern that you can use on Android to simplify code that executes
asynchronously.
- [Flow](https://kotlinlang.org/docs/reference/coroutines/flow.html) - A flow is an asynchronous
version of a Sequence, a type of collection whose values are lazily produced.
- [Android Architecture Components](https://developer.android.com/topic/libraries/architecture) -
Collection of libraries that help you design robust, testable, and maintainable apps.
- [Stateflow](https://developer.android.com/kotlin/flow/stateflow-and-sharedflow) - StateFlow is a
state-holder observable flow that emits the current and new state updates to its collectors.
- [Flow](https://kotlinlang.org/docs/reference/coroutines/flow.html) - A flow is an asynchronous
version of a Sequence, a type of collection whose values are lazily produced.
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores
UI-related data that isn"t destroyed on UI changes.
- [Jetpack Compose Navigation](https://developer.android.com/jetpack/compose/navigation) - The
Navigation component provides support for Jetpack Compose applications.
- [DataStore](https://developer.android.com/topic/libraries/architecture/datastore) - Jetpack
DataStore is a data storage solution that allows you to store key-value pairs or typed objects
with protocol buffers. DataStore uses Kotlin coroutines and Flow to store data asynchronously,
consistently, and transactionally.
- [Dagger-Hilt](https://developer.android.com/training/dependency-injection/hilt-android) - Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Doing manual dependency injection requires you to construct every class and its dependencies by hand, and to use containers to reuse and manage dependencies.
- [Retrofit](https://square.github.io/retrofit/) - Retrofit is type-safe REST client for Android and Java which aims to make it easier to consume RESTful web services. Retrofit is type-safe REST client for Android and Java which aims to make it easier to consume RESTful web services.
- [Material Components for Android](https://github.com/material-components/material-components-android)
- Modular and customizable Material Design UI components for Android.
- [Figma](https://figma.com/) - Figma is a vector graphics editor and prototyping tool which is
primarily web-based.
## Back-end π°οΈ
The app uses retrofit to retrieve data from [Open-Meteo](https://open-meteo.com/). For more information, read the [documentation](https://open-meteo.com/en/docs).## Architecture πΌ
This app uses [***MVI (Model View
Intent)***](https://medium.com/swlh/mvi-architecture-with-android-fcde123e3c4a) architecture.## Build-tool π§°
You need to have [Android Studio Beta 3 or above](https://developer.android.com/studio/preview) to build this project.## Contact π©
Wanna reach out to me? DM me at π
Drop a mail to:- [email protected]
## Donation π°
If this project help you reduce time to develop, you can give me a cup of coffee :)
## License π
```
MIT License
Copyright (c) 2023 Gautam Hazarika
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.```