I want to go www.mymagentostore.com/design and start running the node.js application. This application will produce a list of products, will add them to the cart and will redirect the user back to the store or to the checkout page.
I am not sure on how to implement this? Could you please advise, suggest or point to the example?
my thoughts: 1. Run www.mymagentostore.com on port 5000 2.once design button is clicked redirect user to www.mymagentostore.com/design on port 7777 3. Express framework on Node will listen on this port 7777 and route , will run the app , produce results, and will redirect back to www.mymagentostore.com on port 5000
Some questions arise if I think of implementation above:
Can I run php server on one port and node server on another one? Can I run magento and node on the same domain name? Will magento router cause problems for node router listener?