kiddhustle / tests-exchange-rate-ui

Timed test to create an MVP of an exchange rate app using ReactJS

Home Page:https://kiddhustle.github.io/tests-exchange-rate-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Currency rate table

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.

Setup

Follow these steps to setup the app:

  1. npm install – install dependencies
  2. npm test – run all tests in watch mode (should fail unless you implement the app)
  3. npm start – serve the app at http://localhost:3000/ (it automatically opens the app in your default browser)

Task

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.

About

Timed test to create an MVP of an exchange rate app using ReactJS

https://kiddhustle.github.io/tests-exchange-rate-ui/


Languages

Language:JavaScript 80.4%Language:HTML 13.1%Language:CSS 6.5%