This app shows the weather of any desired location fetching data from the intern API and scraping from OpenWeatherMap.
The app shows:
- Temperature
- Pressure
- Humidity
- Maximum temperature
- Minimum temperature
- Location Map
Temperature data is shown in Metrics units (Celcius).
Clone the repository, install dependencies, and run server
git clone https://github.com/silvergraphs/weatherapp-api.git
npm install
npm start
The API requires only one parameter called city
.
Call example: /api?city=London
This repository have a React Front end compiled version of the WeatherApp-Front in /app
, the server serves it automatically in the /
route, and the API is in the /api
route.
I only used axios
for simplified async data fetching.