Commit graph

14 commits

Author SHA1 Message Date
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
JakkrapartXD
bf5d939910 feat: add role-based frontend URL routing for password reset and email verification
Add separate frontend URL environment variables for student and instructor portals. Update password reset and email verification services to route users to the appropriate frontend based on their role (INSTRUCTOR vs STUDENT).
2026-01-30 17:29:08 +07:00
JakkrapartXD
f4a12c686b feat: Implement instructor search and improve instructor management with email/username lookup and avatar presigned URLs. 2026-01-29 15:52:10 +07:00
JakkrapartXD
a38389cc9f feat: Add instructor registration endpoint and rename student registration to learner registration. 2026-01-19 07:30:28 +00:00
JakkrapartXD
bb80b8a419 add is_deactivated 2026-01-15 10:17:15 +07:00
JakkrapartXD
3ab76e7a43 remove phone from user 2026-01-14 17:51:21 +07:00
JakkrapartXD
ebdf63421a add phone register api 2026-01-14 17:00:23 +07:00
JakkrapartXD
a6cddc6318 move chage password to user con 2026-01-14 14:06:09 +07:00
JakkrapartXD
d8a9909eb9 chage api use token 2026-01-14 13:42:54 +07:00
JakkrapartXD
d8d3dff2e7 get me api 2026-01-13 17:55:00 +07:00
JakkrapartXD
f026c14f0c auth api 2026-01-13 06:49:37 +00:00
JakkrapartXD
646a10f45c update phone schema 2026-01-09 10:59:26 +00:00
JakkrapartXD
1a7473362b api login 2026-01-09 10:14:20 +00:00
JakkrapartXD
9fde77468a migration to typescript 2026-01-09 06:28:15 +00:00