change amount + pictures

This commit is contained in:
2026-03-14 23:54:37 +01:00
parent 2c72b8f47d
commit fda3e3ecbf
8 changed files with 220 additions and 117 deletions
+7
View File
@@ -0,0 +1,7 @@
const API_BASE = 'http://localhost:3000'; // Backend URL
export async function fetchCards() {
const response = await fetch(`${API_BASE}/exportCards`);
if (!response.ok) throw new Error('Failed to fetch cards');
return await response.json();
}