vlafranca / planned-interview-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Planned Interview Test

For this test, you will need to retrieve users from 3 different api endpoints. You will then need to order those users by name (firstName + lastName) ascending and if multiple people have the same name, order them by age descending.

So you would have a list like this one:

Alex B - 32
Marc C - 55
Marc C - 12
Tony Z - 21

The design of your project should match the below image. You will find the necessary assets in the public folder of the project.

alt text

Run the project

Make sure you have node 12+ installed

npm i && npm start

Endpoints

**(do not modify those endpoints)

Tasks

  • Retrieve users from the 3 endpoints when clicking the "Retrieve Users" button
  • Order the users from the 3 collections by name ascending followed by the age descending
  • Implement a filter for the age based on the min and max values of the inputs
  • We recommend using the styled-components library to style your components

Happy coding!

About


Languages

Language:TypeScript 57.9%Language:JavaScript 32.2%Language:HTML 7.7%Language:CSS 2.2%