hands-on lab

Working With Express - Express Routing

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 57
Rating: 3.4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

In this lab, you will learn how to create routes inside an Express application. A route is an Express application's endpoint that responds to a client's request. Routes use RESTful API methods. You will create three routes for this lab. If this is your first time working on the new express lab, make sure to watch the Introduction to Cloud Academy Coding Labs Video.

Learning Objectives

Upon completion of this beginner, you will be able to:

  • Understand how routes work in Express
  • Be able to implement a GET route
  • Be able to implement a POST route
  • Be able to implement a GET route with a wildcard endpoint

Intended Audience

  • Software Engineers

Prerequisites

Completion of the following content is strongly recommended before attempting this lab:

Covered topics

Lab steps

Creating a Get Route
Creating a Post Route
Creating a Wildcard Route