Kata Programming
author @ Adrián Velasco
https://kata-programming.vercel.app
This project was bootstrapped with Create React App.
- You can learn more in the Create React App documentation.
- To learn React, check out the React documentation.
This project was bootstrapped with Create React App.
Tech Stack
- TypeScript
- React
- Redux + TKL – State Management
- Chakra-UI – UI Library
- Jest / Testing Library – Unit Testing
Notes
- The algorithm to resolve the combination of attacks given a list of potions is in the file:
s rc/algorithm/getTheMostDamagingAttacks.ts
- All the logic is isolated in a custom hook,
usePotionCalculator.ts
and used in thePotionCalculator
component - I wrote unit tests to cover the algorithm functionality and the redux store
- It’s mobile responsive
Getting Started
Start the project in development mode:
yarn install
yarn start
# Then, open http://localhost:3000 in your browser.
Run tests
yarn test
Builds the app for production to the build
folder.
yarn build