Currency exchange app
Exchange currencies live like you would do in your Revolut app. Try it live.
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
- Clone and install
git clone https://github.com/jakubzitny/currency-exchange
cd currency-exchange
npm i
- Build it
npm run build
- Check and test
npm test
npm run prettier
npm run lint
- Run
npm start
# or npm run dev # for development mode