I have been following some instructions on how to deploy my project, such as this guide or this tutorial.
However, I am unable to get it to work properly.
This is the code in my server.js file:
var app, express, gzippo, morgan;
gzippo = require('gzippo');
express = require('express');
morgan = require('morgan');
app = express();
app.use(morgan('dev'));
app.use(gzippo.staticGzip("" + __dirname + "/dist"));
app.listen(process.env.PORT || 5000);
Even when I run my server.js using node locally, the webpage displays
Cannot GET /
resulting in the same error message for my Heroku Application.