Спроектируй централизованный API-клиент на axios: interceptors для auth, 401-handling (refresh), retry, error normalization.