Weather App
The application allows you to check the temperature and humidity of the air in two cities (to choose from).
Important infomrations:
- After launching the application, the user is asked to choose a city
- The developer can add new cities to the list in a simple way: cities are stored in the "towns" board.
- After selecting the city, the user sees information about downloading data from the API.
- After downloading information from the API, they are displayed in a table in the form: Date and time of data update by the provider, temperature [C] and air humidity [%]
-
As expected, the application refreshes the data every 10 seconds, even though the API provider (openWeather) refreshes the data less frequently. The last item in the table "time to update" informs about the countdown to refresh
-
The application has a mobile version (above) and a desktop (below)
To start Application please do:
-
Download all project to your device
-
Ask me about API ID -> there are necessary information to start application
-
Paste infotmation from me to file config.js (folder "src" in my projects)
-
Open termial in folder where you downloaded my project
-
Install NPM / use command: npm install -g npm
-
Install React DOM/ npm install --save react react-dom
-
Install Axios / npm i axios
-
Install Bootstrap / npm i bootstrap
-
Use command: npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
Have fun! Pawel