Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner tutorial shows how to organize Node.js and Express applications with modular routers and separate route files. It also builds and tests a simple REST API with parameterized routes and multiple HTTP methods.
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