https://github.com/edsonbueno/very_good_weather
Look up the weather for any location.
https://github.com/edsonbueno/very_good_weather
Last synced: 2 months ago
JSON representation
Look up the weather for any location.
- Host: GitHub
- URL: https://github.com/edsonbueno/very_good_weather
- Owner: EdsonBueno
- License: mit
- Created: 2021-03-20T17:15:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-21T21:43:16.000Z (about 4 years ago)
- Last Synced: 2025-03-24T09:46:56.246Z (3 months ago)
- Language: Dart
- Size: 1.68 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Very Good Weather
[![Very Good Ventures][logo]][very_good_ventures_link]
![coverage][coverage_badge]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]Look up the weather for any location using data from the [MetaWeather API][meta_weather_api_link].
---
## Powered By ๐งฐ
- [Very Good CLI][very_good_cli_link]
- [Bloc][bloc_link]
- [Mocktail][mocktail_link]
- [Very Good Analysis][very_good_analysis_link]---
## Getting Started ๐
This project contains 3 flavors:
- development
- staging
- productionTo run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:
```sh
# Development
$ flutter run --flavor development --target lib/main_development.dart# Staging
$ flutter run --flavor staging --target lib/main_staging.dart# Production
$ flutter run --flavor production --target lib/main_production.dart
```_\*Very Good Weather works on iOS and Android._
---
## Running Tests ๐งช
To run all unit and widget tests use the following command:
```sh
$ flutter test --coverage --test-randomize-ordering-seed random
```To view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov).
```sh
# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/# Open Coverage Report
$ open coverage/index.html
```[coverage_badge]: coverage_badge.svg
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[logo]: https://raw.githubusercontent.com/VeryGoodOpenSource/very_good_analysis/main/assets/vgv_logo.png
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli
[bloc_link]: https://bloclibrary.dev/
[very_good_ventures_link]: https://verygood.ventures/?utm_source=github&utm_medium=banner&utm_campaign=core
[mocktail_link]: https://pub.dev/packages/mocktail
[meta_weather_api_link]: http://metaweather.com/api