text: 'use-strict';
  require('dotenv/config')
  const express = require('express');
  const logger = require('morgan');
  const bodyParser = require('body-parser');
  const cors = require('cors');
  const Router = require('./src/Routes/index');
  const server = express();
  const port = process.env.PORT|| 8080;
  server.listen(port, () => console.log(`Server running in http://localhost:${port}`));
  server.use(logger('dev'));
  server.use(bodyParser.json());
  server.use(bodyParser.urlencoded({extended: false}));
  server.use(Router);
  server.use(cors());
  module.exports = server;