Basic Node and Express - Start a Working Express Server

I try solve very first steps with express. Was reading here in forum not helped.

the Error is: Failed: Your app should serve the string 'Hello Express'

Hope you could help.

i modified the myApp.js

let express = require('express');
let app = express();
console.log("Hello Express");
app.get("/", (req, res) => {
  res.send('Hello Express')
});

solution: boilerplate-express - Replit

Challenge: Basic Node and Express - Start a Working Express Server

Link to the challenge:

no error anymore.
was needed to add app.listen(80); or app.listen(3000);
both was working.

let express = require('express');
let app = express();
app.listen(80);
console.log("Hello Express");
app.get("/", (req, res) => {
  res.send('Hello Express')
});

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.