Introduction to Express - Express Router

Difficulty: Intermediate
Duration: 10 minutes and 55 seconds
Students: 88
Rating: 5/5

In this lesson, you will learn about Express Router and how to create modular routes to create organized and maintainable code.

Learning Objectives

  • Understand how express.Router() is used to create a router instance
  • Learn how to refactor and organize resource-specific route paths into router instances
  • Learn how to configure a router instance as middleware 
  • Learn how the route path is configured when using router instances as middleware

Intended Audience

  • This lesson is intended for anyone who wants to learn about Express

Prerequisites

Covered Topics