Module 06 — Server-Side APIs
What This Module Covers
You've already used fetch — now you'll understand the full picture: what REST APIs are, how they're structured, how to query them with parameters, and how to handle errors robustly.
Learning Objectives
- Understand REST conventions (methods, status codes, URLs)
- Build a multi-endpoint fetch layer with TypeScript
- Handle loading states, errors, and retries
- Work with query parameters, pagination, and headers
- Use the OpenWeatherMap API to build a weather dashboard
Module Lessons
Challenge
Build a Weather Dashboard:
- Search cities by name
- Display current conditions + 5-day forecast
- Search history stored in localStorage
- Click previous search to reload it