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.
- 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.
- Silverstone, UK
- São Paulo, Brazil
- Melbourne, Australia
- Monte Carlo, Monaco
- Flutter SDK installed.
- API key for OpenWeather. You can get one here.
-
Install dependencies:
flutter pub get
-
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
- Create a file called
-
Run the app:
flutter run --dart-define-from-file=.env
- Current Weather: OpenWeather Current API
- 5-Day Forecast: OpenWeather Forecast API
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.
- Fork the repository
- Create a branch for your feature or bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Description of changes"
- Push to the branch:
git push origin feature-name
- Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to suggest any improvements or report issues! 🚀