Skip to content

imertgul/weather_app

Repository files navigation

weather_app

It is a weather app.

Service Source
Countries & Cities countriesnow.space
Weather data OpenWeather
Auth service Cognito

JSON serialization with genereted code Docs

Features

  • Search and save cities for weather data
    • Cities saved on shared preferences. Not related with accounts.
  • Location based weather data
  • Cognito Auth.
  • Click on weather card to see more information with basic animation.

You can test the app on live demo without authentication or download apk from releases.

Start Projects

You have to set and configure Amplify CLI to run application.

  • You can start app on feature/no_auth branch without configration of Amplify

After that you have to set Open Weather api key for WeatherHelper class.

flutter pub get
flutter run

If you want to run for web without debugging service(Amplify not supported on Flutter Web).

flutter run -d web-server --web-port 8000

Known bugs

  • Error messages on flutter web is broken by minifier
  • Location service fails on safari browser.
  • You can't find and city on the earth from cities api.