Upcoming API Requirements
Document Purpose
This document lists the backend APIs required to gradually turn the current demo into a real project.
The list is organized by business domain rather than by final protocol format.
1. User and Identity
Endpoints:
POST /auth/loginPOST /auth/logoutGET /auth/meGET /students/profileGET /students/growth-summary
2. Course Catalog and Enrolled Courses
Endpoints:
GET /courses/catalogGET /courses/catalog/:courseIdGET /students/coursesGET /students/courses/:courseId
3. Schedule and Lessons
Endpoints:
GET /schedule/weekGET /schedule/dayGET /courses/:courseId/lessonsGET /courses/:courseId/lessons/:lessonId
4. Assessments and Growth Records
Endpoints:
GET /courses/:courseId/assessmentsGET /courses/:courseId/assessments/:assessmentIdGET /students/growth/radarGET /students/growth/trendGET /students/growth/milestones
5. Tasks and Homework
Endpoints:
GET /tasks/dailyPOST /tasks/daily/vocab/:wordId/completePOST /tasks/daily/check-inGET /homeworks/currentPOST /homeworks/:homeworkId/submissionsGET /homeworks/:homeworkId/feedback
6. Message Center
Endpoints:
GET /notificationsGET /notifications/:notificationIdPOST /notifications/:notificationId/readPOST /notifications/read-all
7. Activities
Endpoints:
GET /activitiesGET /activities/:activityIdPOST /activities/:activityId/signupPOST /activities/:activityId/cancelGET /activities/:activityId/registration
8. Orders and Payments
Endpoints:
POST /ordersGET /orders/:orderIdPOST /orders/:orderId/payGET /payments/:paymentId/statusGET /students/orders
9. Membership
Endpoints:
GET /memberships/currentGET /memberships/plansPOST /memberships/ordersGET /memberships/orders/:orderId