Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.53 KB

README_ANGULAR.md

File metadata and controls

38 lines (24 loc) · 1.53 KB

Angular developer interview task

Hello and thanks for your interest in the "Angular developer" position here @ Y42.

If you haven't yet please first read the main readme to setup the working environment and get the app up and running.

Important: Please fork the repository before cloning.

Technical details

rxjs BehaviorSubjects are being used for state management.

In the background, data is being fetched from dummyjson API.

Since that API does not support mutating calls like PUT or DELETE we are simulating these calls with a small delay before modifying the local copy.

Expectations

  • Please implement at least two of the below tasks.
  • Please do not forget (happy path) unit tests.
  • Please keep in mind that code quality and cleanliness, ie. adherence to best practices will be evaluated.
  • Feel free to refactor/improve/abstract existing code if necessary.
  • Please do not take more than 90 minutes for the task.

Tasks

  • Implement an "Add product" functionality. Please use the existing product-detail component.
  • Implement search functionality to dynamically filter the product-list. Please use this API.
  • Implement a "Fetched XXX seconds ago" label, which updates every minute.

Definition of Done

  • CI pipeline is green
  • At least two tasks are implemented
  • New code is covered by unit tests (happy path)

Once you are ready please open a pull-request. Remember that this only works from forked repositories.