Overview
Learn how to set up routes with Express Router in this Node.js & Express tutorial for beginners. The course aims to teach students how to organize an Express JS app by handling each route in its own file using Express Router. The syllabus covers creating routers, applying them, working with static files, creating REST API routers, handling multiple HTTP methods, named parameter routes, testing API routes, and a challenge on API route handlers. The teaching method involves a step-by-step tutorial with practical examples. This course is intended for beginners looking to enhance their skills in Node.js and Express development.
Syllabus
Intro
Welcome
Intro and Setup
Creating a router
Applying the router
Applying static files to the routes
Correction concerning app.use
Creating a second router
Creating a REST API router
Multiple http methods per route and parameter values
Named parameter routes
Testing the API routes
Challenge - API route handlers
Taught by
Dave Gray