code: function configure() {
          server.use(config.assets ? config.assets : '/assets', express.static(`${app.root}/views/assets`))
  
          server.use(bodyparser.json({ limit: config.body_parser_limit }))
          server.use(bodyparser.urlencoded({
              parameterLimit: 10000,
              limit: config.body_parser_limit,
              extended: true
          }))
  
          if (config.session) {
              server.use(session({
                  secret: config.session_secret,
                  store: new redisStore({
                      host: config.session_redis_host || 'localhost',
                      port: config.session_redis_port || 6379,
                      client: redis.createClient()
                  }),
                  resave: false,
                  saveUninitialized: true
              }))
          }
  
          server.set('views', `${app.root}/views`)
          server.set('view engine', 'twig')
  
      }
docs: trigger methods before and after the routing (use methods almost)