from this example below, where can I view my console.log(req) ?? I’d like to see what its logging. I dont see it in the terminal when I use node app.js
const express = require(‘express’);
const app = express();
// Serves Express Yourself website
app.use(express.static(‘public’));
const { getElementById, seedElements } = require(’./utils’);
const expressions = ;
seedElements(expressions, ‘expressions’);
const PORT = process.env.PORT || 4001;
// Use static server to serve the Express Yourself Website
app.use(express.static(‘public’));
app.get(’/expressions’, (req, res, next) => {
console.log(req);
res.send(expressions);
});
app.listen(PORT, () => {
console.log(Listening on port ${PORT}
);
});