title: ReactJS: How to deploy on local server
body: <p>I have a web app developed with a NodeJS + Express + GraphQL + MongoDB back-end and a ReactJS + Apollo front-end. I would like to deploy this application <em>locally</em>. Is that even possible? </p>
  
  <p>I have come across dozens of "how to deploy to Heroku," "how to deploy to Digital Ocean", "how to deploy to Github", etc. But none that explains how to deploy locally. </p>
  
  <p>Right now, I run: <code>nodemon server</code> for the back-end, and <code>npm start</code> for the front-end. I see the application running on <code>http://localhost:3000/</code> (I use cors to connect the front end with the server running on port 3001).</p>
  
  <p>I would like to just go to <code>http://localhost:3000/</code> and see the app without having to execute the commands <code>npm start</code> and <code>nodemon server</code>. Is this possible? If so, how do I do that? </p>
  
  <p>To my knowledge, our local server is not a WAMP server (our OS is Windows though). The IT department told me that it is a</p>
  
  <blockquote>
    <p>[...] plain, regular old server. The address is localhost running on
    port 3000. You can open up another port on 3001 if you need it. Just
    drop your stuff on the C: drive and you should be good to go. I've
    never heard of Node or React so I can't help if you have questions.  </p>
  </blockquote>
  
  <p>Any ideas? Many thanks in advance for your help! </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>There seems to be a bit of confusion surrounding what I am looking for. I am trying to deploy this locally. </p>
  
  <p>Let's say, on your local computer (your laptop at home) you go to localhost:3000 on your favorite browser. Unless you are serving something to localhost in that moment nothing is going to show up, it will say "refused to connect" or something. What I want is to be able to open any machine on the network whenever I go to localhost:3000 and my react site appears and functions...does that make more sense?</p>
  
  <p>I don't want this is development mode. I want a build of this project on localhost...I'm starting to think this isn't possible.</p>