/currency-exchange

Exchange currencies live like you would do in your Revolut app

Primary LanguageTypeScript

Currency exchange app

build codecov

Exchange currencies live like you would do in your Revolut app. Try it live.

demo

Possible improvements

  • better ui/ux (with shortcuts (up/down arrow), actual wallets that persist balance)
  • better API calls encapsulation, more API providers
  • performance optimizations (no useless rerenders)
  • more tests for the root CurrencyConverter component
  • integration tests with Cypress

Stack

  • TypeScript, NPM
  • React (with React Hooks)
  • Next.js (with SWR)
  • Prettier, TSLint
  • Jest (with Jest Snapshots), Chai, Sinon
  • Exchange rates are polled from exchangeratesapi.io

Development

  1. Clone and install
git clone https://github.com/jakubzitny/currency-exchange
cd currency-exchange
npm i
  1. Build it
npm run build
  1. Check and test
npm test
npm run prettier
npm run lint
  1. Run
npm start

# or npm run dev # for development mode