text: const express = require('express');
  const hbs = require('express-handlebars');
  const cookieParser = require('cookie-parser');
  
  module.exports = function(app) {
      
      app.engine('hbs', hbs({
          extname: 'hbs',
      }));
  
      app.set('view engine', 'hbs');
  
      app.use('/static', express.static('public'))
  
      app.use(express.urlencoded({extended: true}));
  
      app.use(cookieParser());
  } 