Creating admin pages, new brand API endpoint

This commit is contained in:
2024-09-25 15:42:05 +02:00
parent 6dd49f630d
commit 0856540441
28 changed files with 417 additions and 76 deletions

View File

@@ -0,0 +1,7 @@
import axios from "axios";
let BASE_URL = "http://localhost:3000/brands"
export async function getAllBrands() {
return await axios.get(BASE_URL)
}