See the written version of this tutorial for links to prerequisites and related tutorials: https://heynode.com/tutorial/how-add-...
Routing determines how an application's endpoints (its URLs) handle requests sent by clients. Routing combines HTTP methods (GET, POST, etc.) and URL paths to run handler functions in response to a request. It's a core concept of Node's Express and essential to building APIs and web applications with the framework.
By the end of this tutorial, you should be able to:
Understand how Express applications define routes
Create routes that respond to specific HTTP verbs
Heynode.com: The best online Node.js courses and tutorials to help you solve hard problems fast.