To get started,
- Clone this repo
cd YasLifeCaseStudy
orcd YasLifeCaseStudy_0_63_2
npm install
oryarn install
npm run android
ornpm run ios
oryarn android
oryarn ios
To run unit tests,
npm run test
or yarn test
To test UI elements with Storybook, (not applicable to YasLifeCaseStudy_0_63_2)
- In
App.tsx
commentexport default App;
and uncommentexport default Storybook;
npm run storybook
npm run start
- Run or refresh the app
Design inspiration - https://dribbble.com/shots/6839064-Daily-UI-004-Currency-converter-app/attachments and https://www.xe.com/
To add new currencies,
Update config.ts
with the desired Currency. For example, { label: 'Australia', code: 'AUD' }
Convert endpoint could not be used because free account plan doesn't allow for it to be used
It is an upgrade to the now outdated/overkill solution in YasLifeCaseStudy. It was written completely using TDD so that can be used as a usecase for studying TDD.
The following environment variables are required to successfully build the project. FIXER_KEY