text: const exec = require('child_process');
  const express = require('express');
  const morgan = require("morgan");
  const cors = require('cors');
  const app = express();
  
  app.use(morgan("dev"));
  app.use(cors());
  
  // Used body parser
  app.use(express.json());
  app.use(express.urlencoded({ extended: false }));
  
  app.get('/', (req, res) => {
      return res.send('Hi hook work')
  })
  
  app.post('/hook', (req, res) => {
      const r = req.body;
      console.log(r);
      exec.execSync('bash deploy.sh');
      return res.status(200).json({ success: true })
  })
  
  app.post('/hook/chuzu', (req, res) => {
      const r = req.body;
      console.log(r);
      exec.execSync('bash chuzu.sh');
      return res.status(200).json({ success: true })
  })
  
  app.post('/hook/tecs', (req, res) => {
      const r = req.body;
      console.log(r);
      exec.execSync('bash tecs.sh');
      return res.status(200).json({ success: true })
  })
  
  const port = process.env.PORT || 6500;
  app.listen(port, error => console.log('http://localhost:' + port));