The weather forecasting application built with React and JSX.
- Users are able to see the name and country of the city the forecast is for.
- Users are able to see a summary of each day of the forecast, including the date, general description of the weather that day, and maximum temperature.
- Users are able to click on one of the summaries to view all of the forecasted information for that date.
This project is part of my bootcamp course at Command Shift.
- Clone the repo:
git clone https://github.com/yan-fung/react-technical-test.git
- To install the package locally:
npm install
- Run the development server for the app.
npm start
- To test the codes in tests folder.
npm test
- Jest and React Testing library are used for testing purposes.
- Axios is used to perform HTTP requests for retrieving data from the API
- PropTypes is used for validating props.
- The app is showing the weather forecast for Manchester by default.
- Enter the name of a UK location to get the forecast.
- The app can only search for locations in the UK at the moment.
If I would have more time, I would like to add the following features to my application:
- Making the application more repsonsive to different sizes of device.
- Allowing users to check the weather in different cities outside of the UK.
- Changing the UI design to make it more appealing and user-friendly.
🧑🚀 Yan Fung