gndelia / marvel-explorer

Learn the details of your favourite Marvel superheroes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mock marvel api

gndelia opened this issue · comments

Considering the API is not working, mock it

  • if the key for the API is not present, use the mock
  • If the key is present, assume it works fine and do not use the mock
  • Key should be in a variable environment (not committed!)
  • Update docs to reflect this configuration step

Reopened because it is failing in some cases.