title: ReactJS - App Issues after Deployment
body: <p>I just started my first website with reactjs.</p>
  
  <p><strong>Question 1</strong>
  On localhost I run my backend on <code>PORT=3001</code> and my app on <code>PORT=3000</code>.
  Using <code>react-scripts build</code> I created the build for the frontend, but it looks like the <code>"proxy": "http://localhost:3001"</code> is not taken under consideration when creating the build.</p>
  
  <p>Now after deployment on the server the api calls are always returning 404 as they never go to port 3001.</p>
  
  <p>How can I pass the proxy with the build?</p>
  
  <p><strong>Question 2</strong>
  On my local machine I run <code>react-scripts start</code> so i can directly access 
  <code>http://localhost:3000/login</code>, but on the server I would always have to start with <code>http://example.com/</code> and then use the navigation to get to the login.</p>
  
  <p>How can I better handle the urls?</p>
  
  <p>Thank you,
  Vanessa</p>