TypeScript Developer

Case File: The Typed Handler

Write the first endpoints of a real API: a function from a standard Request to a standard Response. List the parcels, fetch one, answer 404 for a missing one, 405 for a wrong method and 404 for an unknown path, always as JSON. The checks send real Request objects through your function. Real TypeScript, generated for you alone.

55 min

Case File: The Typed Handler

Write the first endpoints of a real API: a function from a standard Request to a standard Response. List the parcels, fetch one, answer 404 for a missing one, 405 for a wrong method and 404 for an unknown path, always as JSON. The checks send real Request objects through your function. Real TypeScript, generated for you alone.

In this lesson:

  • typescript
  • api
  • http
  • request-response
  • routing
  • status-codes
  • fetch-api
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans