The Weather App is a simple application that provides weather information based on the user's location or a search for a specific city.
-
Clone the repository:
git clone https://github.com/allyssonmast/weatherapp.git
-
Navigate to the project directory:
cd weather-app
-
Create the
apikey.properties
file at the root of the project and add your WeatherStack API key as follows:API_KEY=your_api_key_here
Note: Make sure not to share your API key publicly. Add
apikey.properties
to your.gitignore
file to ensure it is not included in commits. -
Compile and run the application:
./gradlew assembleDebug ./gradlew installDebug
- Kotlin 1.9.0
- Java 17
- Automatically checks internet connectivity and user's location permission.
- Automatically fetches weather forecast based on the user's current location.
- Allows the user to search for a specific city.
- Manual refresh option available.
This application utilizes the WeatherStack API to fetch weather data. You can sign up for a free API key on the official website.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions, suggestions, or issues, feel free to contact us at allysson-m@hotmail.com.
Stay updated on the project by following our GitHub page.