text: import express from 'express'
  import bodyParser from 'body-parser'
  import fileUpload from 'express-fileupload'
  import apiRoutes from './Server/routes/routes'
  import swaggerUI from 'swagger-ui-express'
  import dotenv from 'dotenv'
  
  
  
  dotenv.config()
  const app = express()
  
  app.use(bodyParser.urlencoded({extended:false}))
  app.use(bodyParser.json())
  app.use(apiRoutes)
  
  app.use('/uploads', express.static('uploads'));
  app.use(fileUpload({useTempFiles : true, tempFileDir : '/tmp/'}))
   
  const PORT = 700 || process.env.PORT;
  app.listen(PORT, () => {
    console.log(`running on port ${PORT} ...`);
  });
  export default app