title: How to integrate ReactJS with expressJS
body: <p>First, I'm very new in ReactJS. I've done simple reactjs project based on following link. <a href="http://www.tutorialspoint.com/reactjs/reactjs_environment_setup.htm" rel="nofollow">http://www.tutorialspoint.com/reactjs/reactjs_environment_setup.htm</a> and I can run and test perfectly by running "<code>npm start</code>". But when I'm trying to integrate with expressJs as edit/developed as follow coding, I cannot render at all.</p>
  
  <p>Package.json</p>
  
  <pre><code>  "scripts": {
      "start": "node server.js"
    }
  </code></pre>
  
  <p>server.js</p>
  
  <pre><code>var express = require('express');
  var path = require('path');
  
  var app = express();
  
  var isProduction = process.env.NODE_ENV === 'production';
  var port = isProduction ? process.env.PORT : 3000;
  var publicPath = path.resolve(__dirname, '/');
  
  // We point to our static assets
  app.use(express.static(publicPath));
  console.log(publicPath)
  
  // And run the server
  app.listen(port, function () {
    console.log('Server running on port ' + port);
  });
  </code></pre>
  
  <p>Whenever I render as "<code>npm start</code>", encounter as follow.</p>
  
  <blockquote>
    <p>Cannot GET /</p>
  </blockquote>