The chosen address shows on the page; listing, adding and editing happen in a popup. Shipping and billing can differ.
The save button sends a real request to DummyJSON. The address stays only on this page and is gone when you refresh.
useCheckoutAddress returns order-ready data.NEXT_PUBLIC_API_URL or VITE_API_URL and the address path in ADDRESSES_PATH. get-addresses.api.ts returns dummy addresses, so turn it into a request, and adapt save-address.api.ts to your API. Server-side validation is yours to add.npx virastack remove checkout-address.