javascript – Best practice to deploy Node.js Server-Client Code in WordPress?

Question

I came across the following Github repository which works great when I install it on my Mac Node.js environment.

Github Link

What steps do I need to take to deploy this on a live WordPress site, as part of a page template in a child theme?

I know the necessary steps to deploy a vanilla JS (with pure client side JS/HTML code), but I’m struggling how to deploy the above code, specifically as it includes a server/client setup with socket.io and express.

Thanks!

0
F.Marks 2 months 2021-06-13T12:29:58-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse