Student

Student Resource Routes Routing the Controller Object through resource endpoints

Requires

  • module:express

Members

inner, constant protect

Protected Route Middleware

inner, constant router :object

Express router to mount user related functions on.

inner, constant st :object

Student Controller Object

Methods

inner /student/() → {json}

GET /student/ Auth Required
Returns:
json - -Welcome Endpoint Msg.
To Do:
  • write comments

inner /student/()

POST /student/ Save student Endpoint Auth Required
To Do:
  • write comments

inner /student/:id()

DELETE /student/:id Remove student by ID Endpoint Auth Required
To Do:
  • write comments

inner /student/:id()

GET /student/:id Get student by ID Endpoint Auth Required
To Do:
  • write comments

inner /student/:id()

PUT /student/:id Update student by ID Endpoint Auth Required
To Do:
  • write comments

inner /student/login/:student_login()

DELETE /student/login/:student_login Remove Student By Login Auth Required
To Do:
  • write comments

inner /student/login/:student_login()

PUT /student/login/:student_login Update Student By Login Auth Required
To Do:
  • write comments

inner /student/login/:student_login()

GET /student/login/:student_login Get Student By Login Auth Required
To Do:
  • write comments