To run this application locally you may need to run:
- npm install next
- npm install --save-dev typescript @types/react @types/node
To start this application run the following commands in this order from the root of the project:
- npm i
- npm run dev
You will then be able to view the application on http://localhost:3000 in your browser.
A user should be able to select 1 nominee per category to nominate. A user does not have to pick a nominee from every category. A user should be able to navigate through the categories and select nominees using a keyboard. For the purpose of this tech test the submission opens a modal and console logs the nominees and their ballot category.
To run tests run the following command from the root of the project:
- npm run test