REST API middleware to a CMS.
So the client needed to automate data operation on a database but only CMS access was provided. Solution was a REST API middleware working on top of the CMS.
- Get data as HTML making a GET request
- Extract data from HTML into JS object
- Modify data in JS object
- POST the data simulating a form submit
Node.js with Async/Await
Restify
cheerio
JSON