9b27949002
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.0 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
public | ||
src | ||
.gitignore | ||
README.md | ||
package-lock.json | ||
package.json |
README.md
React frontend assignment
Description
Your task is to implement a component or a set of components allowing the users to fetch and display change history of users and projects in separate tables according to the designs and requirements below. You can use the provided packages and add new ones if necessary. Please provide unit tests for your code.
Requirements
- Handle the loading state
- Handle the error state (every second call to fetch users or projects will result in an error)
- Make sure the table can be browsed also on smaller screens
- By default table data should be sorted in reverse chronological order (newest first)
- Users should be able to sort by the Date column only and be able to toggle between reverse chronological and chronological order
- After fetching new entries, table should be re-sorted according to currently selected sorting order
Screenshots
Default state
Loading state
Error state
Setup
This project was bootstrapped with Create React App.
Available Scripts
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.