s
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
MetaCourse API - Frontend Connection Info
|
|
||||||
==========================================
|
|
||||||
|
|
||||||
API Base URL (development)
|
|
||||||
--------------------------
|
|
||||||
http://localhost:8080/api
|
|
||||||
|
|
||||||
API Base URL (production)
|
|
||||||
-------------------------
|
|
||||||
http://romaric-thibault.fr:8080/api
|
|
||||||
|
|
||||||
Endpoints
|
|
||||||
---------
|
|
||||||
POST /api/users/login
|
|
||||||
GET /api/courses
|
|
||||||
POST /api/courses
|
|
||||||
GET /api/topics
|
|
||||||
... (see BACKEND_API_DOCS.md for full list)
|
|
||||||
|
|
||||||
Format
|
|
||||||
------
|
|
||||||
- All requests/responses: JSON
|
|
||||||
- IDs: UUID (string)
|
|
||||||
- Dates: ISO 8601
|
|
||||||
|
|
||||||
CORS
|
|
||||||
----
|
|
||||||
All origins are allowed — no extra setup needed on the frontend.
|
|
||||||
|
|
||||||
Notes
|
|
||||||
-----
|
|
||||||
- Switch the base URL from localhost to production when building for prod.
|
|
||||||
Reference in New Issue
Block a user