Answer the question
In order to leave comments, you need to log in
The simplest site on Node.js?
Good afternoon! I am learning JS, and I was pleasantly surprised that HelloWorld on the node does not look so complicated, unlike my native sharp with ASP. Previously, I had little experience in PHP, I usually had such a minimum as a database + include, but the language itself scared me away, but now it’s not about that. When I read articles about a node, everything quickly seems to take off right off the bat, express and other things are connected, with little explanation of why this is. And now I want to just create a site for myself with a simple database, showing pages received via $_GET['page'] as it would be in PHP, but I can not find anything on creating simple sites without a ton of dependencies on NPM packages.
I apologize for such a presentation of the question, I hope it is more or less clear.
Answer the question
In order to leave comments, you need to log in
So it will be the same hello world, only you send html instead of text.
Actually, the base server: https://nodejs.org/en/knowledge/HTTP/servers/how-t...
And http documentation: https://nodejs.org/api/http.html
I can't find anything about building simple sites without a ton of dependencies on NPM packages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question