Skip to content

magno-castro/weather_track_app

Repository files navigation

README

Tour Weather Tracker 🌦️

An application built for Android and iOS to track the weather for a rock'n'roll band's tour. This app provides the current weather and a 5-day forecast for the main cities where the band's concerts will take place.


Features ✨

  • Current Weather: Displays the current weather for each city.
  • 5-Day Forecast: Provides a detailed weather forecast for the next 5 days.
  • Search: Easily search for a city in the tour list using a search bar.
  • Offline Mode: The app works seamlessly offline by caching data locally.
  • Responsive Design: Supports multiple resolutions and screen sizes.

Cities Included 🌍

  • Silverstone, UK
  • São Paulo, Brazil
  • Melbourne, Australia
  • Monte Carlo, Monaco

Getting Started 🚀

Prerequisites

Installation

  1. Install dependencies:

    flutter pub get
  2. Set up the OpenWeather API key:

    • Create a file called .env in the root directory.
    • Add the following line:
      API_KEY=your_api_key_here
  3. Run the app:

    flutter run --dart-define-from-file=.env

APIs Used 🌐


Offline Support 📡

The app caches weather data locally to ensure it works even without an internet connection (e.g., in airplane mode). When offline, it loads the most recent data available.


How to Contribute 🤝

  1. Fork the repository
  2. Create a branch for your feature or bug fix:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Description of changes"
  4. Push to the branch:
    git push origin feature-name
  5. Open a Pull Request.

License 📜

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to suggest any improvements or report issues! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published