What to notice
JWT auth feels abstract until you can see the request loop. This page keeps the control surface on the left and the server evidence on the right so each action shows both the user-facing outcome and the underlying token/session changes.
The auth store is local-first, the cookies are httpOnly, and the refresh token rotates every time it is used. That makes it a better teaching setup than a single localStorage token because it shows the actual coordination work a server does.