Understand Server modal njs vs php

I have not used Wappler in a while as I have moved to Python programming. But a customer asked me to build a site and I said yes. I always keep Wappler on my desktop. Wow things have changed and for the better I can see that. I have a few questions and I hope that you can help with this.

I previously used Wappler 3 to build my sites and host them on a local nas using wither nginx or apache 2 servers. I have been watching Bens videos on using Nodejs to build a site and wanted to give it a go. Here is what I have noticed. I choose the server modal in Wappler when building the site, as I want to use the template (it seems a lot easier). I see that Wappler downloads a Nodejs server locally and stores the in my project files.

I build the site and can view it through localhost3000, which I assusme is Nodes localhost port.

When I upload all the project files to the nas server for hosting. I get nothing back. It seems as if I cannot render the index.js.
I noticed if I place a index.html page in the project folder, it will host that page.

If my nas is running server modal apache or nginx (there is no way to use nodejs as server modal)(But Nodjs is installed on the nas) Can I run a nodejs site? How can I accomplish this? Or do I just need to stick with PHP as the server modal when building the site in Wappler. I would assume that I would loose access to building dynamic templates.

Please help me understand.

Community Page
Last updated: