Centralizing Auth and Error Handling in Axios with a Shared Instance
Create a single Axios instance with baseURL, timeout, and interceptors for auth and error normalization. Learn how to avoid duplication, manage interceptor order, and test the setup.