Using DOCX with Laravel, using Express as a backend

I need to generate robust, clean Word documents for an app I m building. It s something PHP libraries are bad at, and there s a great JS library for. It was only logical to use it - so what did I do?