Chapter 3. Understanding Express Routes
This chapter is about routes—the request interfaces to your application. We have seen and used some routes in the previous chapters, but there is much more to routes than creating one by giving a name and including a callback function to handle the request.
In this chapter, you will get a deeper insight into how routes work and how you can customize them to make your application more flexible and powerful.
You will learn the following in this chapter.
How to define routes
How to handle routes
How to organize routes