Fetching data

Axio logo

We will need to make requests from the frontend to the backend to retrieve the todo data and to carry out any action related to them. To do this we'll use axios as it has a nice API for sending and receiving JSON. Axios is installed via npm,

Run this command in frontend/

npm install --save axios