Cannot GET / Nodejs Error

I think you’re missing your routes, you need to define at least one route for example ‘/’ to index.

e.g.

app.get('/', function (req, res) {
  res.render('index', {});
});

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)