TypeScript REST API Client

Intermediate Web Medium

A fully typed API client that queries a public REST API using the Fetch API, maps the response to TypeScript interfaces, and renders the data to the DOM.

Download Starter Code

Features

  • Typed interfaces matching the API response shape
  • Async fetch wrapper with a typed return value
  • Loading and error state handling
  • Render fetched data to the DOM dynamically

Project Roadmap

Follow these steps in order. Each one builds on the previous.

0% completed

Helpful Resources

Starter Code

Loading starter code...