frontend: Affichage dynamique des fonctions

TODO: Rendre fonctionnel la rechercher et le tri par catégorie
This commit is contained in:
Divlo committed 2020-03-20 18:26:55 +01:00
1 parent c9f817930c
commit 5edf5e7069
8 files changed
+141 -37

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import axios from 'axios';
import { API_URL } from './config';
const api = axios.create({
baseURL: API_URL,
headers: {
'Content-Type': 'application/json'
}
});
export default api;
+1
View File
@@ -0,0 +1 @@
export const API_URL = "http://localhost:8080";