React single page application to display protein sample data in a table. This app demonstrates the use of GraphQL on the client side, react-router, pagination and navigation.
react-router-dom
to route the data when Navigation tabs are clicked.react-bootstrap
to make the app beautiful.appolo-client
&graphql
to interact with the GraphQl api to fetch and display data.
The app fetches data from the graphql server: http://35.92.236.234:9190/graphql
- Ensure that the UI closely mirrors the design mockups.
- Add unit tests to test the application code.
- Make pagination work without calling useQuery. We are calling it right now since we don't know the exact number of protein samples count. This count is use for pagination.
- Modify code to incluse variables for static values.
npm i
// To install all package dependencies.npm start
// To start the app.- Visit
http://localhost:3000/
in your browser.