Skip to content

GabrielPeresBernes/weather-to-rock

Repository files navigation

Weather To Rock

Weather To Rock was developed as a test project for the mobile software engineer position at CloudWalk, this app offers real-time weather updates and forecasts.

Table of Contents

Project Description

Weather to Rock is the right choice to check the perfect weather for rock n' roll!

Getting Started

These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before installing the project, ensure that your system meets these requirements:

Operating System: Windows/Linux to test on Android or MacOS to test on iOS.

Flutter: Version 3.0 or higher.

Installation

Follow these steps to set up the project:

Install Project Dependencies:

flutter pub get

Install iOS Dependencies: (MacOS only)

  cd ios && pod install --repo-update

Setup Environment:

Rename env.example to .env.

Fill in the environment constants. For testing, use:

API_URL = "https://api.openweathermap.org/data/2.5/"
API_KEY = "466d33491caccc7eeb2b2bacabf94f0c"

Features

  • Real-Time Weather Updates: Get the latest weather updates and forecasts for selected city with an internet connection.

  • Offline Access: Save weather data for offline viewing, ensuring access to information even without an internet connection.

  • City Search: Easily search for cities by name to find their current weather conditions.

Search City Get Weather Offline Weather
untitled3 untitled99 untitled999

Running the Tests

Unit and Widget Tests:

flutter test

These tests ensure that individual units of the code work as expected.

Integration Tests:

flutter test integration_test/<file_test.dart> -d <DEVICE_ID>

These tests check the app's performance as a whole.

Test Coverage

To evaluate the test coverage:

flutter test --coverage

Then, generate a coverage report:

genhtml coverage/lcov.info -o coverage/html

Open index.html in the coverage directory to view the report.

2024-01-29_01-12

Built With

Author

Gabriel Peres Bernes

Contact Information

For additional questions or comments, feel free to contact me at:

Email: [email protected]

LinkedIn: https://www.linkedin.com/in/gabriel-peres-bernes/

About

Weather To Rock was developed as a test project for a mobile software engineer position.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages