text: /*
   * Run the project and access the documentation at: http://localhost:3000/doc
   *
   * Use the command below to generate the documentation without starting the project:
   * $ npm start
   *
   * Use the command below to generate the documentation at project startup:
   * $ npm run start-gendoc
   */
  
  
  const swaggerUi = require('swagger-ui-express')
  const swaggerFile = require('./swagger-output.json')
  const bodyParser = require('body-parser')
  const express = require('express')
  const app = express()
  
  /* Middlewares */
  app.use(bodyParser.json())
  app.use('/doc', swaggerUi.serve, swaggerUi.setup(swaggerFile))
  
  app.listen(3000, () => {
    console.log("Server is running!\nAPI documentation: http://localhost:3000/doc")
  })
  
  /* Endpoints */
  require('./src/endpoints')(app)
  