Initial commit

This commit is contained in:
2026-03-11 00:10:38 +01:00
commit d2212391c7
26 changed files with 6704 additions and 0 deletions

7
app/lib/fetch.ts Normal file
View File

@@ -0,0 +1,7 @@
export const fetchApi = async <T = any>(url: string): Promise<T> => {
const response = await fetch(url);
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return response.json();
};