my understanding is:
- Front-end page (such as an index.html)
- web server (such as apache)
- backend programs (such as writing one in java or php)
in my concept, the three are separate, but in nodejs, 2 and 3 seem to be together, and you can"t always find an introduction to this when querying information about nodejs.
wants to get some explanations of web server
and back-end programs
in nodejs
(for example, how to do web server
use and back-end programs
development, the relevant information is always very confusing)
add: specifically, suppose I need to implement
- access my index.html using ip
- how should the back-end program respond to a post request in index.html using nodejs
(no specific code implementation is required, just want to know how to implement it)