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


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.get(’/expressions’, (req, res, next) => {




app.listen(PORT, () => {

console.log(Listening on port ${PORT});


Hello, and welcome back to the forums.

You’ll be able to see the logging in the same place you ran the command node app.js. Keep in mind that the one you specified console.log(req) will only be run when your /expressions route is used, though.

Based on the code, I’m going to assume which lesson you’re on. You can either manually navigate to the path in the embedded browser, or you can use the front-end that they provide to test your routes. This is how to use the front-end they provide:

After you start your server with node app.js

This is what the console will look like:

Note: the “GET /expressions route was activated” message came from a console.log() that I added to demonstrate