This is the default landing page rendered by the auto-generated routes/index.js. Replace it with your own route handler whenever you're ready.
// routes/index.js var express = require('express'); var router = express.Router(); router.get('/', function(req, res) { res.render('index', { title: 'Express' }); }); module.exports = router;
Create a new file in routes/ and mount it from app.js.
Drop in cors, helmet, morgan — npm has it all.
Pick a template engine in app.set('view engine', …).
Drop assets into public/. They will be served at the root.