A weather app done with React. Allows the user to search for the weather in their cities and save them to favorites.
Utilises OpenWeatherMap API for weather data and Weather Icons for icons.
Semantic UI React was also used in this project.
- Clone this repo
git clone git@github.com:deduskaa/weather-app-react.git
orhttps://github.com/deduskaa/weather-app-react.git
- Create a config.js
- Add your own API_KEY to a config.js file and import it to App.js
cd weather-app-react
- Install node packages
npm install
- Serve it locally
npm start
- Go to http://localhost:3000
There are couple of simple tests in App.test.js done with Jest + Enzyme. To run these:
npm run test