We will make simple api call to food2fork.com to get some recipes and we are using webpack (see previous posts). We need to install axios from npm (npm install axios --save) - this is handling http requests better than fetch function, which doesnt work correctly in some older browsers. Also we are using proxy here, because otherwise it will not work for use from our local server because of CORS.
models/Search.js