Coder Social home page Coder Social logo

awesomeweather's Introduction

Summary

This app lets customers search for weather data for a U.S. city by name.

Tech Stacks

  • Architecture Pattern: MVVM
  • Dependency Injection: Hilt
  • Network Library: Retrofit
  • Image Library: Glide
  • Concurrency: Kotlin Coroutine, Kotlin Flow
  • Unit Test: JUnit, Mockk

Implemented Features

  1. When a customer enters a city's name and presses the Search button, 5-day weather information will be displayed with a 3-hour step.
  2. When a customer clicks on the icon to weather data for the current location, a UI will be displayed to require location permissions.
  3. If a customer enters a city that cannot be found by the backend service, an error message will be displayed.
  4. The last searched city and weather data will be displayed when the app launches.

Screenshots

Future Improvements

  1. Given more time, we can implement autocomplete when a customer enters the city name for a better user experience.
  2. Given more time, we can support search by zipcode.
  3. Given more time, we can let users choose between metrics and imperial units.
  4. Remove the API key from the source code to improve security. For example, we can use Github secrets (reference).

openweathermap APIs

awesomeweather's People

Contributors

botime avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.