Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1016 Bytes

File metadata and controls

19 lines (10 loc) · 1016 Bytes

Contains Angular code challenge for internship applicants to Mereb Technologies. Please carefully follow the instructions given below.

Create Simple Angular application

Your task is to create angular application and fetch a list of actors with the films they have been involved from a given API endpoint and render the list of actors on the page. Each actor should be displayed as a card with its name, height,birth_year and an "Detail" button.

Details:

  1. Fetch the product data from the following API endpoint: https://swapi.py4e.com/api/people/.

  2. Display the list of actors as cards. Each card should include the product name, height,birth_year and an "Detail" button.

  3. When the "Detail" button is clicked, the selected actor should be displayed in separated component with the detail of an actor.

  4. Use appropriate CSS styles to make the actor list visually appealing.

  5. Errors and loading states should be handled.

  6. Write unit tests to ensure that the components behave as expected.