elearning/Backend/src/controllers
JakkrapartXD d7f824f353 feat: standardize login response format with code, message, and data wrapper
Update login endpoint to return consistent API response structure with code, message, and data fields. Wrap token, refreshToken, and user data inside a data object to match the standardized response format used across other endpoints.
2026-01-30 17:54:43 +07:00
..
AdminCourseApprovalController.ts make admin approve api 2026-01-23 13:16:41 +07:00
announcementsController.ts feat: enable file upload support for announcement creation with multipart form data handling. 2026-01-27 16:43:59 +07:00
AuthController.ts feat: standardize login response format with code, message, and data wrapper 2026-01-30 17:54:43 +07:00
CategoriesController.ts refactor: Standardize type naming conventions and file casing for course and category types. 2026-01-20 07:13:59 +00:00
CertificateController.ts feat: add certificate generation system with PDF template and Thai font support 2026-01-30 14:14:00 +07:00
ChaptersLessonInstructorController.ts feat: Implement granular API for video upload/update and attachment management with dedicated types and endpoints. 2026-01-26 17:23:26 +07:00
CoursesController.ts feat: update getCourseById endpoint to return single course response type and improve error handling. 2026-01-28 17:08:44 +07:00
CoursesInstructorController.ts refactor: reorder searchInstructors endpoint and fix role code to uppercase INSTRUCTOR, add lesson completion tracking on quiz pass 2026-01-29 16:39:33 +07:00
CoursesStudentController.ts add check quizz for student 2026-01-22 17:30:35 +07:00
LessonsController.ts feat: Implement granular API for video upload/update and attachment management with dedicated types and endpoints. 2026-01-26 17:23:26 +07:00
UserController.ts feat: add email verification endpoints with token-based verification and SMTP integration 2026-01-30 14:53:50 +07:00
UsermanagementController.ts feat: implement category management API with CRUD operations for categories. 2026-01-15 16:53:13 +07:00