title: Requesting data from a React App
body: <p>Suppose I have a node.js server running on <code>localhost:2000</code>, this routes GET requests and calls an external API to populate responses. </p>
  
  <p>Now, I also have a react.js front end running on <code>localhost:3000</code>, which queries the node server at <code>localhost:2000</code> to get responses using axios.</p>
  
  <p>What is the point of doing so? If I'm already using axios in my react app why can't I just directly call the external API from it? Is this simply a design decision? Such that there is server-client separation and cleaner code or does it serve a higher purpose?</p>
  
  <p>PS. For the sake of clarity - This method is no different from using a proxy for the react app. Correct? i.e. configuring a proxy in the <code>package.json</code> and have the react app simply <code>fetch</code> endpoints? </p>