Checkout my repo, install dependencies and then start with the following:
> git clone git clone https://github.com/paulina-grunwald/react-weather-app.git
> cd react-react-weather-app
> npm install
> npm start
You can call by city name or city name and country code usingOpen Wather Map API. API responds with a list of results that match a searching word. API call:
api.openweathermap.org/data/2.5/weather?q={city name}
api.openweathermap.org/data/2.5/weather?q={city name},{country code}
e.g api.openweathermap.org/data/2.5/weather?q=London
Regiser on the website to get API key.