This project was bootstrapped with Create React App.
- Better organization of files and folder structure.
- Clean imports with aliases and paths (tsconfig).
- Make some tests!
- There were a few ways to implement a "state" of filters. Such as Context, zustand etc. I choose keep them in URL as it was more intuitive and user-friendly.
- Column alive: only two conditionals work because none of the characters have a
died
value provided. Weird. - API error, for example with params:
?culture=Valyrian&gender=female&pageSize=10&page=2
we have pagination to the sixth page but without any records. - Strongly typed.
- Time spent: ~6h
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!