Open alexmorley opened 6 years ago
Useful Links: Express JS - https://expressjs.com/ Creating Child Processes (for pandoc): https://medium.freecodecamp.org/node-js-child-processes-everything-you-need-to-know-e69498fe970a Pandoc - https://pandoc.org/MANUAL.html
The server side is quite simple at the moment. It basically just receives the code of conduct in HTML and coverts it into various formats by calling Pandoc.
It'd be nice to re-write this bit using Javascript. That should also mean we can remove the need for docker to run a test instance.
Here's a mini-roadmap:
express.js
appchild_process.spawn( $pandoc_command )