Concept Flow - Mounting routers with app.use
Create Express app
Create Router
Define routes on Router
Mount Router on app with app.use(path, router)
Incoming request to app
Check if request URL matches mount path
Yes
Pass request to Router
Router handles route
Send response
Request complete
This flow shows how an Express app creates a router, mounts it with app.use, and how requests matching the mount path are handled by the router.