Here is the working page
You have 3 button that should load the goods and show them on the page using the GoodsList.
Load All goodsshould load and show all thegoods;Load 5 first goodsshould do the next:- load all the goods;
- sort them by name;
- and show the first 5;
Load red goodsshould load all the goods show onlyredones;- Server has only 1 endpoint returning all the goods, so you should do all the preparations in corresponding methods in
/api/goods. GoodsListis almost finished, you just need to use corresponding colors forlis;
- Install Prettier Extention and use this VSCode settings to enable format on save.
- Implement a solution following the React task guideline.
- Use the React TypeScript cheat sheet.
- Open one more terminal and run tests with
npm testto ensure your solution is correct. - Replace
<your_account>with your Github username in the DEMO LINK and add it to the PR description.