title: responding with index.html in express and react
body: <p>I have an express app where inside it has a create-react-app. when the user goes to root url I want to show the index.html present in create-react-app public folder. Here is my code for index.js in express app</p>
  
  <pre><code>const express = require("express");
  const app = express();
  
  app.get('/',function(req,res){
  
  
  });
  
  const PORT = process.env.PORT || 5000;
  app.listen(PORT);
  </code></pre>
  
  <p>Here is my project directory</p>
  
  <p><a href="https://i.stack.imgur.com/JxMl2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JxMl2.png" alt=""></a></p>