Test app for react oriented front-end engineer candidates
Перейти к файлу
dependabot[bot] 6f0f761067
Bump url-parse from 1.4.7 to 1.5.10
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-27 00:42:33 +00:00
public Initialize project using Create React App 2020-03-01 19:23:09 +02:00
src Initial commit 2020-03-03 16:48:39 +02:00
.gitignore Initialize project using Create React App 2020-03-01 19:23:09 +02:00
README.md Update README 2020-03-05 10:47:53 +02:00
package-lock.json Bump url-parse from 1.4.7 to 1.5.10 2022-02-27 00:42:33 +00:00
package.json Initial commit 2020-03-03 16:48:39 +02:00

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

Screen Shot 2020-03-03 at 13 25 01

Loading state

Screen Shot 2020-03-03 at 13 25 16

Error state

Screen Shot 2020-03-03 at 13 25 09

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.