var express = require('express'); var app = express(); app.get('/', function(req, res) { res.send('<h1>😝</h1><p>Hello !</p>') }) var server = app.listen(3000, function() { console.log('Listening on port 3000.'); })
→ http://expressjs.com/en/4x/api.html