text: const createRequest = require('./index').createRequest
  
  const express = require('express')
  const bodyParser = require('body-parser')
  const app = express()
  const port = process.env.EA_PORT || 5000
  
  app.use(bodyParser.json())
  
  app.post('/', (req, res) => {
    console.log("request value is",req.body)
    createRequest(req.body, (status, result) => {
      console.log('Result: ', result)
      res.status(status).json(result)
    })
  })
  
  app.listen(port, () => console.log(`Listening on port ${port}!`))