Repository responsible for showcasing the test done for an interview with Company Hero.
- Clone the repository;
- Install the dependencies using
yarn
; - Run
yarn dev
to start developing the website.
You can also use yarn build && yarn start
to develop the website, however, it is recommended to use yarn dev
since changes made to files will trigger the code to be re-compiled JIT.
The theme file for Ant Design is located under styles/ant-theme.less
, there you can change the global variables used by the framework.
I do not recommend messing too much with the next.config.js
considering the issues that are brought from using the node-fetch
library (used in structures/Api.ts
) and Ant Design. One example being the use of cssModules
, which breaks the Ant Design framework completely.
TypeScript is used in this project for maintaing a more scallable code, however, it is not used when NextJS builds the application. That is because the framework treats any warnings as errors, so if you were to, for example, use require(<Package | File>)
the application would not be built.