In the process of mastering node.js on lessons in the network, I encountered such a phenomenon as routing.
I don't understand its essence, but explain it everywhere using the example of the Express framework, which only adds complexity.
I installed the router module through npm into my application stub , went to read the readme, and there: Router requests.
I appreciated the humor, but I did not understand how to figure it out. I ask you to stick in a good lesson on routing without frameworks. To not just "how", but "why." It is desirable in Russian, but there as it turns out.
Well, or suddenly not too lazy for anyone to briefly and eloquently describe how the router is generally used.
In general, I will accept any info on a bare node.