Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 841 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 841 Bytes

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.