At work we have a web portal tool that let's us deploy new updates for our clients site. It's a legacy app and no one wants to touch it. I've made a node js script with puppeteer that runs through the flow of the portal and does the deployment automatically. Now my boss wants to be able to be able to trigger that script with an API call. Now I don't really want to go through the trouble of setting up express and having to have a node server constantly running and having to keep it up if the server has to be rebooted or something. So I kind of just want to code the API endpoint in php and have php trigger the node script. Am I being extremely stupid here? Is there a better approach I should he doing?
Submitted July 11, 2019 at 07:14AM by Rimikokorone
No comments:
Post a Comment