API Routes
Opened this issue · 0 comments
dward2nd commented
Instruction
- One route one file, in either
student/
oradmin/
directory. - Use the Figma prototype as models for the system.
Part Student /student
- GET
/browse_course?q={search text}&init=1
@dward2nd - #25 @NMWANNABEAIENGINEER
- GET/POST
/enrollment
@dward2nd- GET enrolled course list
- POST edit enrolled course list
- GET/POST
/suggest?init=1
@Touutae-lab- GET suggestion based on enrollment alone
-[deprecated] POST suggestion with modification from a user
- GET suggestion based on enrollment alone
Part Admin /admin
student
- POST
/student/add
@NMWANNABEAIENGINEER - GET
/student/browse?q={search text}
@NMWANNABEAIENGINEER - GET/POST
/student/edit/<student_id>
@NMWANNABEAIENGINEER - GET/POST
/student/delete/<student_id>
@NMWANNABEAIENGINEER
course
- POST
/course/add
- GET
/course/browse?q={}
@NMWANNABEAIENGINEER - GET/POST
/course/edit/<student_id>
@NMWANNABEAIENGINEER - GET
/course/delete/<student_id>
course category
- POST
/course_category/add
@ph0pz - GET
/course_category/browse?q={}
@ph0pz - GET/POST
/course_category/edit/<category_id>
@ph0pz - GET
/course_category/delete/<category_id>
@ph0pz
program
- POST
/program/add
@NMWANNABEAIENGINEER - GET
/program/browse?q={}
@NMWANNABEAIENGINEER - GET/POST
/program/edit/<student_id>
@NMWANNABEAIENGINEER - GET
/program/delete/<student_id>
@NMWANNABEAIENGINEER
program plan
- POST
/plan/add
@ph0pz - GET
/plan/browse?q={}
@ph0pz - GET/POST
/plan/edit/<plan_id>
@ph0pz - GET
/plan/delete/<plan_id>
@ph0pz
planned timeline for each plan