CapstoneBuildLesson 67 / 69

Build the frontend

Code Lab180 min

Build the frontend

Same discipline on the other side — vertical, complete, honest states:

  • Routes first: URL = state, one route per real screen.
  • Components composed from the bottom up, one job each.
  • Every data screen handles empty, loading, error, success.
  • The API client is typed against your own DTOs.

When a screen is done, it is done: real fetch, real loading spinner, real error retry. The polish you built into this roadmap's own UI is the standard.

Exercise

Build the frontend for your first slice: route, component, typed API call, all four states. Then do the second slice.

Practice this lesson in the IDE

Open the Capstone practice workspace, edit the starter code, and run your work in the browser.

Open IDE and practice