This is a weather application that allows users to search for the current weather of a location. The app uses the OpenWeatherMap API to retrieve the weather data.
To use this app, follow these steps:
-
Clone or download this repository.
-
Obtain an API key from OpenWeatherMap API.
-
Create a new file called .env in the root directory and store your API key as a variable named REACT_APP_WEATHER_API_KEY.
-
Run npm install to install the necessary dependencies.
-
Run npm start to start the app.
-
In the app, enter the name of a location and click the Search button. The current weather of the location will be displayed.
Note: An API key from OpenWeatherMap API is required to use this app.