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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Cards Preview

⛅ 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

Build With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Jetpack Compose - Jetpack Compose is Android’s modern toolkit for building native UI.
  • Coroutines - A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
  • Flow - A flow is an asynchronous version of a Sequence, a type of collection whose values are lazily produced.
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • Stateflow - StateFlow is a state-holder observable flow that emits the current and new state updates to its collectors.
    • Flow - A flow is an asynchronous version of a Sequence, a type of collection whose values are lazily produced.
    • ViewModel - Stores UI-related data that isn"t destroyed on UI changes.
    • Jetpack Compose Navigation - The Navigation component provides support for Jetpack Compose applications.
    • 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 - 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 - 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
    • Modular and customizable Material Design UI components for Android.
  • Figma - 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. For more information, read the documentation.

Architecture 🗼

This app uses MVI (Model View Intent) architecture.

Build-tool 🧰

You need to have Android Studio Beta 3 or above to build this project.

Contact 📩

Wanna reach out to me? DM me at 👇

Drop a mail to:- gautamhazarika01@gmail.com

Donation 💰

If this project help you reduce time to develop, you can give me a cup of coffee :)

Buy Me A 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.



About

⛅ 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.

License:MIT License


Languages

Language:Kotlin 100.0%