This app uses React, Context API, Typescript and Tailwind CSS, with Yarn as package manager
To install dependencies and run the development server, run:
yarn
# then
yarn start
-
You can also view the deployed site on Netlify at https://currency-exchange-flow.netlify.app
-
To understand better my thought processes while writing the code, I wrote step-by-step comments on how the code is structured. You can start the tour by looking at the
src/App.tsx
file.
-
I assumed that the transfer fees was a fixed amount of 3.69 regardless of the currency
-
I created a fallback json to get dummy rates incase the api fails (you can see it at
/src/utils/rates.json
)