Problem 1 :
Can be run via nodejs or npm run command in root directory
npm run run_problem1
Problem 2 :
Can be run via nodejs or npm run command in root directory
npm install
npm start
Open http://localhost:3000/
To configure prices api url, change .evn > REACT_APP_PRICES_URL
Problem 3 : One file contain the issues in MessyReact file and 'ImprovementReact.tsx' contain the improved version.
src/
problem1/
problem2/
apis/
assets/
components/
includes/
router/
stores/
types/
views/
problem3/
More description about main components
- apis- All apis call will be kept here.
- components - This folder contains all the components that are being used on views with the intention of having a shared component library for easier extension and updates.
- includes- This folder contains the helper libraries.
- providers- Material UI HOC
- types- TS interfaces/type.
- The converted amount can change without clicking Convert button.
- Bit better UX on responsive designing.
- The from and to currency can be added in URL search bar so that on searching history user can have prefilled fields.
- Unit tests.