require('./routes') const express = require('express') const { routes } = require('./routes') const { maxAttachmentSize } = require('./config') const app = express() // Initialize Express app app.disable('x-powered-by') app.use(express.json({ limit: maxAttachmentSize + 1000000 })) app.use(express.urlencoded({ limit: maxAttachmentSize + 1000000, extended: true })) app.use('/', routes) module.exports = app