G
G
Ghash2017-04-28 01:47:35
JavaScript
Ghash, 2017-04-28 01:47:35

Explain Node.JS: is it a server or a faucet or both?

People, explain! Node.JS is a server, but how, say, a website written on it can be docked with Apache or Nginx. As I understand it, projects are assembled on its basis and then transferred to other servers. And why, if he is so cool, then there are no hostings based on him? I can not understand. Thanks in advance, don't hit with sticks)
That is, how is the work process going? I assemble a site on the basis of Noda in assemblers, and then I put it as a ready-made application on any server?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
index0h, 2017-04-28
@Ghash

Node.JS is the server

No, it's a platform.
If by website you mean http server on nodejs - due to proxying. To return statics - nodejs is not needed, nignx is enough.
Well... like bae... so in any language. We collect some software and deliver it to the environment where it will be used.
If you have chosen a node, given that its entry level is orders of magnitude higher, you probably need something specific and your requirements for configuring the environment are higher. It's a puff to throw wp into a public directory and say that it was.
For the rest - for hosting projects on nodejs - there is a lot of vps / vds, and hosting specifically for applications for nodejs - IMHO is not needed.
If you only need a static collector - in principle yes. If you want to use the node as a backend, then this question will have to be thought out, depending on your project.

G
gleendo, 2017-04-28
@evgeniy8705

Answer

V
Vasily Nazarov, 2017-04-28
@vnaz

why, if he is so cool, then there are no hostings based on him?

About the same reason why there are no hostings in Java, C++, Ruby, ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question