TECHNOLOGIES: HTML5, CSS, SASS, REACT, RWD, API, GULP, WEBPACK, ES6, ES7, JSX
App is asking for the permission to detect location.
If location of the user was deteced or user typed name of the city, data is send do OpenWeather's API and current temperature as well as dedicated icon is displayed in a component. Request is made using sync fetch with await (ES7).
- Write in a terminal
git clone https://github.com/miedzyslowami/APIWeather.git
to clone repository - Write in a terminal
npm install
to install all deps
- Write in a terminal
webpack
- to run compiler from jsx to js - Write in a terminal
npm run dev
- to run local server - Write in a terminal
npm run build
- to create production build
#react #api #geolocation #fontawsome #svg #sass #webpack #openWeather #ES6 #ES7