How to Setup Routes with Express Router - Node.js & Express Tutorials for Beginners

How to Setup Routes with Express Router - Node.js & Express Tutorials for Beginners

Dave Gray via YouTube Direct link

Testing the API routes

12 of 13

12 of 13

Testing the API routes

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

How to Setup Routes with Express Router - Node.js & Express Tutorials for Beginners

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome
  3. 3 Intro and Setup
  4. 4 Creating a router
  5. 5 Applying the router
  6. 6 Applying static files to the routes
  7. 7 Correction concerning app.use
  8. 8 Creating a second router
  9. 9 Creating a REST API router
  10. 10 Multiple http methods per route and parameter values
  11. 11 Named parameter routes
  12. 12 Testing the API routes
  13. 13 Challenge - API route handlers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.