const express = require('express'); const app = express(); // Our first foute app.get('/home', (request, response, next) => { console.log(request); response.send('<h1>Welcome Ironhacker. :)</h1>'); }); // Start the server app.listen(3000, () => console.log('My first app listening on port 3000! '));
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter