text: var express = require('express');
  var app = express();
  
  var cors = require('cors');
  app.use(cors({origin: true}));
  
  app.use(express.urlencoded({ extended: true }));
  app.use(express.json());
  
  const main = require('./routes/main');
  
  app.get('/ping', main.Ping);
  
  app.listen(process.env.PORT || 2002,
      () => console.log("Server is running..."));
  