diff --git a/Readme.md b/Readme.md index d7e99de5c15..4ad6dd23ef5 100644 --- a/Readme.md +++ b/Readme.md @@ -35,12 +35,15 @@ import express from 'express' const app = express() +const port = 3000 app.get('/', (req, res) => { res.send('Hello World') }) -app.listen(3000) +app.listen(port, () => { + console.log(`Example app listening on port ${port}`) +}) ``` ## Installation