How to write clean API calls with Axios

Front-End