Schedule
Week 3

Building and Consuming Standard Web APIs

Learn to build and consume RESTful APIs with Express.js — covering HTTP fundamentals, standard API design, error handling, and resilient clients with retries.

↗ Open slides

In this lecture, we will learn:

Why...

  • Do we need to separate the frontend and backend?
  • Do we structure APIs in a certain standard way?
  • Do clients need to implement retries when consuming APIs?

How to...

  • Create a RESTful API with Express.js following standard conventions
  • Use JavaScript to make HTTP requests from the browser to the server
  • Implement retries with exponential backoff to handle transient failures