Basic knowledge for Node.JS?

I'm trying to learn about node.js, and there are tons of examples, but one question that I cannot find an answer or an example is how it works with web hosts (I'm using inmotionhosting.com)?

Let's say I have a base site www.url.com/index.php (note: I also use PHP). For this website to work, all I have to do is upload the file to my file manager on my web hosting.

How does node.js work? Am I just uploading a node.js file to web hosting?

In all examples, they use localhost with port 8000 or something like that. Can someone shine some kind of light?

Thank!

+5
source share
2 answers

VPS- node.js, - , .

, node.js, , , , -.

from nodejs.org
Node.js - , JavaScript JavaScript . node.js , -, , , .

, , -, ​​ ExpressJS, - .. , nodejs, ..

API
ExpressJS
ExpressJS

+1
+1

All Articles