title: npm start vs node app.js
body: <p>I'm extremely new to Node and trying to get my head around app basics. I'm curious as to why these two commands:</p>
  
  <blockquote>
    <p>node app.js</p>
  </blockquote>
  
  <p>--vs--</p>
  
  <blockquote>
    <p>npm start</p>
  </blockquote>
  
  <p>output the same thing to the console and appear to continue "listening", but why when I try to access <a href="http://localhost:3000" rel="noreferrer">http://localhost:3000</a> I get a 404 only when running the first command.</p>
  
  <p>I see that Express 4 seems to have a different app structure, but why is it that one successfully listens and the other doesn't, despite the same behavior in the console?</p>
  
  <p>Any explanation is helpful. Thanks!</p>