Crypto Dash User Story
- User can see all main stats of crypto currency in a datable, 100 per page -table
- Header still stay fixed as user scrolls down the table
- User can click next or prev to flip to another page -pagination
- User can sort the display of the coin page using any of the headers except image -sort
- User can filter for the display using name by typing to input box
- User can toggle among USD, SGD, and HKD, EUR… —useContext
- User can click on each data row ( the row will be highlighted gray) and go to a page that has more details on the clicked coin
- Use can see graph on historical price, introduction and likes and dislikes number of the coin on the detailed graph
- User can search for any coin by typing the name into a search bar that appears on every page, a dropdown will auto appear to suggest
- LOADING DATA text will show when data is loading, ERROR 404 shows if the url does not route to any page
Improvement if there is time:
- Add toggle for global stats
- Add a button bottom right corner, onClick to jump to the top of the page
- Search bar should take data from another API that pull all the universe of token, not just the current displayed coins on the dashboard aka need to a different fetch
Others:
- Use a Chart library to draw historical price