Skip to content
Press
QQ
to open this menu
Pricing & Plans
Request a demo
Login
Start Free Trial
Training Library
Introduction to Express - Express Routing
Introduction to Express - Express Routing
Beginner
Difficulty: Beginner
11m 20s
Duration: 11 minutes and 20 seconds
89
Students: 89
4/5
Rating: 4/5
About
Author
About
In this lesson you will learn how to create API routes for an Express server.
Learning Objectives
Implement a GET route handler
Define what is the root entry point of an API
Understand the request and response objects
Define and implement the res.json() method
Implement a POST route handler
Implement the express.json() middleware to parse JSON requests
Define and implement the res.body method
Learn how to use Insomnia to test an API endpoint
Implement a wildcard endpoint to handle requests that go to a non-existent endpoint
Intended Audience
This lesson is intended for anyone who wants to learn about Express.
Prerequisites
Introduction to Node.js - What Is a Node Module and Non-Blocking I/O
Introduction to Node.js - CommonJS Modules
Covered Topics
Development
Javascript
Express JS
Node JS
Lecture UUID
Course UUID