text: require('dotenv').config();
  const express = require('express');
  const morgan = require('morgan');
  const bodyParser = require('body-parser');
  const cors = require('cors');
  
  const app = express();
  
  app.use(cors());
  app.use(morgan('dev'));
  app.use(bodyParser.urlencoded({ extended: false }));
  app.use(bodyParser.json());
  
  require('./routes.js')(app);
  
  module.exports = app;