This is probably a basic question... I'm new to Node.js (but am an experienced developer/techie). I have searched this topic some, and found several documents that seem to talk about it- but they include references to directories that aren't there and are just confusing me.
I installed a Bitnamie Node.js instance on Google Cloud Platform cloud launcher. It is working and I can access the default site (port 80) and SSH into the instance.
I see in my user directory there are ~/htdocs and ~/stack directories. Makes sense. I can add subfolders under htdocs (with a simple index.html), and they are accessible via web browser. So far, so good.
It seems this server, though, is running apache. I'm not sure if the intention is that I'd access node.js through apache, or if I would need to shut apache down in order to run my node app on port 80... but that's getting ahead of myself.
I have downloaded a fairly large Node.JS + React application. It uses yarn to install dependencies, and build the app. So I installed yarn, have run yarn in the app directory to resolve dependencies, and ran yarn build to build the app. I think this is building into a dist directory.
I'm not sure what to do next... how would I now install/run this app. Do I have to turn off apache? Do I configure the app to use port 80? How? Do I run ./bin/www or something to start node up?