Frontend needs to save the list of student names and emails the teacher enters before displaying them again on the next page, so we need an endpoint to provide this list to them.
Steps:
[x] if not there yet: implement endpoint in classrooms.js that calls the right function
[x] implement function in db-adapter: get (non-registered) students for classroom (from table classroomcodes) (classId) -> return list of students
[ ] implement function in classroom-controller: convert result from db to a list of JoiningStudent() objects
Frontend needs to save the list of student names and emails the teacher enters before displaying them again on the next page, so we need an endpoint to provide this list to them.
Steps: