var express = require('express');
var app = express();
app.use(express.static('public'));
app.listen('3000',function () {
console.log("Express server is up on port 3000!");
});
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ReactApp</title>
</head>
<body>
<h4>Hello world!</h4>
</body>
</html>
Cannot GET /
GET localhost:3000 404 (Not Found)