From 14ffe2722961f1fea4341bcbf2a22c9931a45456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IKUZE=20NKUNDIMANA=20Ars=C3=A8ne?= Date: Thu, 28 May 2026 15:12:58 +0200 Subject: [PATCH] Supprimer FRONTEND_INFO.md --- FRONTEND_INFO.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 FRONTEND_INFO.md diff --git a/FRONTEND_INFO.md b/FRONTEND_INFO.md deleted file mode 100644 index 2387094..0000000 --- a/FRONTEND_INFO.md +++ /dev/null @@ -1,36 +0,0 @@ -# MetaCourse — Frontend Info for Backend Setup - -## Framework -Angular 20.3 (standalone components, no NgModule) -Ionic 8.8.4 (UI components) -Capacitor 8.3 (mobile wrapper — Android & iOS) - -## API Base URL (currently hardcoded) -File: src/app/services/api.service.ts -Value: http://localhost:8080 - -## Auth -- No HTTP interceptor — tokens are NOT sent in headers automatically -- User info stored in localStorage under key: metacourse_user -- Format: { userId: string, name: string, email: string } -- No JWT implementation yet — backend can choose session or JWT - -## CORS -Dev server runs on http://localhost:4200 -Backend must allow that origin - -## Expected API prefix -All endpoints are prefixed with /api -Examples: /api/users/login, /api/courses, /api/topics - -## Data formats -- All requests/responses: JSON -- IDs: string (UUID expected) -- Dates: ISO 8601 string - -## Error format expected by frontend -{ message: string } - -## Environment files -No environment.ts files exist yet. -Backend should provide a base URL to hardcode or an environment file template.