- Forecast weather status at cities over the world
- Compare weather on your desired locations to make trip better
- Type city to search box and select one in suggested list
- Weather on selected city will be shown in few seconds
- Repeat step 1 to compare weather on different city
git clone https://github.com/binhfoto/nab-weather-forecast.git
cd nab-weather-forecast
yarn install
yarn start
Note: yarn@1.22.4, node@v14.3.0
- Build image
docker build -t nab-weather-app-img .
- Run app
docker run -d --name nab-weather-app -p 3000:8080 nab-weather-app-img
- Stop app
docker container stop nab-weather-app
yarn test
Name | Description |
---|---|
Create React App | Scaffold project |
React | UI-based component |
Typescript | Strong type, Error Handling |
Redux | State Management |
Redux-saga | Handling side effects |
Jest | Test framework |
Enzyme | Test React components |
redux-saga-test-plan | Test sagas |
Prettier | Opinionated Code Format |
husky | Pre commit hook |
API | https://www.metaweather.com/api/ |
- Show weather at current location by default
- Allow to remove weather item on list
- Show error friendly if having any