Weatherish is a Java-based CLI that fetches real-time weather data for any city using the OpenWeatherMap API. It displays current temperature, feels like, humidity, wind speed and local time, all from your terminal.
- Java 21+
- Maven
For this step, you'll need to generate your api key at OpenWeatherMap website.
Rename the .env.example file to .env and update the variable with your generated key.
| key | description | default |
|---|---|---|
| API_KEY | OpenWeatherMap's api key | - |
Inside the root folder, compile and run the application using the following commands:
- Compile application:
mvn compile- Run application:
mvn exec:javaThen follow on-screen instructions.
