Create an order table component with mock server data. Keep in mind that some of the components of the table may be used in other components later i.e. design them as re-usable. To create the frontend part, you can use whatever you like in the React stack, the only exception being the mandatory use of redux-toolkit.
Currencies icons are available from the Copper public cdn, example BTC icon
Runs at localhost:3002
check your /etc/hosts
file in case of troubles.
get /api/currencies-info
- returns a currency dictionary with USD rate
get /api/orders
- returns a list of orders
patch /api/orders/:orderId
with a custom header
Content-Type: application/vnd.approve-order+json
- for approve
Content-Type: application/vnd.reject-order+json
- for reject
patch /api/orders
with a custom header and orderIds
array in body
Content-Type: application/vnd.bulk-approve-order+json
- for approve
Content-Type: application/vnd.bulk-reject-order+json
- for reject
Request body should contain an array of orderIds for approve/reject: {orderIds: ['1', '2', ...]}