JSON API URL :
https://jsonmock.hackerrank.com/api/stocks?date=<date>
Open: {open}
Close: {close}
High: {high}
Low: {low}
In case of no results render below div
<div data-testid="no-result">No Results Found</div>
Checkout the repository.
1- npm install
2- npm start
3- npm test