express js client get code example Example: express get app.get('/index', (req, res) => { res.render('index') })