You are creating an MVP of a currency rate table. It's a React-based web application which displays the currency rates in a table that is sortable.
Follow these steps to setup the app:
npm install
– install dependenciesnpm test
– run all tests in watch mode (should fail unless you implement the app)npm start
– serve the app at http://localhost:3000/ (it automatically opens the app in your default browser)
Use the fetch API to request 'api/rates.json' and render it inside a sortable table.
The table by default should be sorted by the first column ascending.
The table can only be sorted by one column at a time.
Clicking on a header column should sort the table by that column.
Clicking on a header column that is already sorted should invert the sort direction.
You need to get all tests passing.