Add API key to private/setting.json, but is still exposed in the imports/component/util/constant.js
Table rendering all functional (feel free change it to cards)
Pull recipe id out of each recipe object
The explanation for recipe id:
Each recipe object has a URI field in the form of http://www.edamam.com/ontologies/edamam.owl#recipe_<id>.
The base URI can be found in the constant.js.
When redirecting to the detail recipe page, the URL will have the form of /recipe/<id>.
Then to request the information about that specific recipe, replace q=<some search term> with r=http://www.edamam.com/ontologies/edamam.owl#recipe_<id>.
private/setting.json
, but is still exposed in theimports/component/util/constant.js
The explanation for recipe id:
http://www.edamam.com/ontologies/edamam.owl#recipe_<id>
.constant.js
./recipe/<id>
.q=<some search term>
withr=http://www.edamam.com/ontologies/edamam.owl#recipe_<id>
.