Steps to run code in local :

  • npm i
  • npm start
  • in case the browser does not start automatically, give 'localhost:3000'

Info :

  • API may constitute of pagination but here I am using just the first page results
  • Query parameters are unknown for this API hence I am doing a substring check in my code