- This project was bootstrapped with Create React App.
- Used the Mock screens, API test response and instructions to identify the data types, and comose components
- Created barebone version of all the components to parse the JSON data and populate all the components
- Used Styled components to apply the styles as per design
- Added unit tests for 2 major components Hotels: To check the if the hotel list is gettin loaded and can be sorted HotelCard: to check if the property details are present
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
yarn test
Launches the test runner in the interactive watch mode.\
- Add style to Sort order combo
- Refactor styles
- Increase unit test code coverage
- Implement Ratings - half star/self value