A Hands-On Course

Build the Library Frontend with React

A data-heavy React app built from an empty folder, on top of the Spring Boot course's Library API.

The mission Learn the modern way to build a data-heavy React app — and why each piece is done that way — by building the frontend for the Library API from the Spring Boot course.

Lessons

  1. Scaffold the App and Fetch the Books
    Bun, Vite and TypeScript, a dev proxy to the Spring API, and the books on screen with plain fetch and useEffect.
    Soon
  2. The Cost of Fetching in Effects
    Loading and error flags, race conditions and StrictMode's double fetch: what hand-rolled fetching gets wrong.
    Soon
  3. Server State with TanStack Query
    QueryClient, useQuery, query keys and the Devtools replace the effect.
    Soon
  4. A Typed Client from the OpenAPI Spec
    Generate types from the Spring API's spec and call it with openapi-fetch.
    Soon

Reference

Community

Trusted resources