feat: refactored front end

This commit is contained in:
Pierre Tellier
2025-02-04 15:18:59 +01:00
parent 8674625bb4
commit 3619e6684e
33 changed files with 4067 additions and 13 deletions

View File

@ -0,0 +1,13 @@
// file: src/services/api.js
import axios from "axios";
// Creating an instance for axios to be used by the token interceptor service
const instance = axios.create({
baseURL: `${import.meta.env.VITE_BE_API_URL}/api`,
headers: {
"Content-Type": "application/json",
},
});
export default instance;