Skip to content

d-campbell-bs/interview-exercice

 
 

Repository files navigation

Interview exercise

Provided content

This NextJS project was created from create-next-app, and includes Chakra-UI and React-Query.

3 types are provided :

  • Show: common props of movies and tv shows
  • Movie: props of a movie
  • TvShow: props of a tv show

The endpoint /api/marvel allows to recover all marvel movies and tv shows. It returns an array of Movie | TvShow This endpoint accepts a query param type=movie or type=tvShow for filter by type

The endpoint /api/marvel/{id} allows to recover movie or tv show information. It return Movie | TvShow This endpoint accepts a query param type=movie or type=tvShow for filter by type

Exercise

You have to build a listing of Marvel movies and tv shows. The list must be able to be filtered by type

Click on listing item must trigger navigation to a new details page for the selected item.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%