Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

REST APIs with Express Course

via Treehouse

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.

Learn the basics of building out a REST API with Express, a popular framework written for Node.js.

What you'll learn

  • REST API Design
  • API Routing
  • Express

Syllabus

Getting to Know REST APIs

Learn what a REST API is and how it differs from a traditional server side application.

Chevron 8 steps
  • Intro to REST APIs

    3:02

  • What is a REST API?

    3:45

  • HTTP Methods and CRUD Operations

    2:08

  • Intro to REST APIs

    5 questions

  • A Simple API

    4:13

  • Planning out a REST API

    3:18

  • GET a Quote, GET all Quotes

    5:25

  • Build a Basic REST API

    5 questions

Managing Data and Asynchronous Code

In this part of the course, we'll talk about persisting data for our API and see how to use async/await to handle asynchronous requests to our datastore.

Chevron 5 steps
  • Managing REST API Data

    3:00

  • Refactor the Get All Quotes Route

    3:15

  • Async/Await in Express

    2:40

  • Refactor the Get One Quote Route

    2:56

  • Managing Data and Async Code Quiz

    4 questions

Create, Read, Update, Delete

Create, Read, Update, Delete

Chevron 8 steps
  • Using Postman to Test Routes

    2:11

  • Create a New Quote

    5:22

  • Using Try/Catch with Async/Await

    3:03

  • HTTP Status Codes

    5:40

  • Create, Read, Update, Delete Quiz 1

    5 questions

  • Edit A Quote

    6:04

  • Delete a Quote

    2:56

  • Create, Read, Update, Delete Quiz 2

    5 questions

Refactoring and Modularizing a REST API

Refactoring and Modularizing a REST API

Chevron 6 steps
  • Writing a Global Error Handler

    7:13

  • Refactor with Express Middleware

    3:29

  • Structuring Your REST API

    4:56

  • Get a Random Quote

    2:43

  • Going Further

    2:03

  • REST APIs with Express Course Review

    6 questions

Reviews

Start your review of REST APIs with Express Course

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.