I remember seeing an Express example that does app.listen(3000
but I can’t find it anywhere now. Is there such thing? Where can I find it?
The closest thing I’ve found so far is from
http://expressjs.com/en/starter/hello-world.html
i.e.,
const express = require('express')
const app = express()
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(3000, () => console.log('Example app listening on port 3000!'))
But if I copy it to my notebook, How can I get an URL like https://tobiria39l5l.runkit.sh/?