Inicialize as chamadas da API Redux Redux Redux CRUD

import axios from "axios";

export default axios.create({
  baseURL: "http://localhost:8080/api",
  headers: {
    "Content-type": "application/json"
  }
});
Junior Grepper