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();
}
