text: /*
   * Copyright (c) 2022 - present Pethum Jeewantha. All rights reserved.
   *  Licensed under the MIT License. See LICENSE.txt in the project root for license information.
   */
  
  const winston = require('winston');
  const express = require('express');
  const app = express();
  
  require('./startup/logging')();
  require("./startup/routes")(app);
  require('./startup/db')();
  require('./startup/config')();
  require('./startup/validation')();
  
  const port = process.env.PORT || 3000;
  app.listen(port, () => winston.info(`Listening on port ${port}`));
  