yarn@1.22.19
node@18.12.1
yarn
yarn
yarn start // go to localhost:9000
yarn test
- normally, you wouldn't fetch all pages of the api, but since we need to get total amount and it's not in the api request, we need to fetch it all. Ideally, would be working with the API so it does return total amount and achieve lazy or paginated loading.
- some of the components in the
ui/core
folder is very basic, could've usedMUI
or some other component library but wanted to write my own simple ones to showcase. - used custom webpack configuration because I like that it's more customizable and lightweight than CRA (since it has stuff we likely don't need for this assignment).