To be clarified: what prompts can we receive from the frontend?
Adapter functions: should be implemented in tasks #76 and #77, if necessary just create the function headers you need
Steps:
[ ] implement method to generate random number student code (5 digits)
[ ] create new classroom
[ ] function in routes: receive name of classroom and the teacher
[ ] function in controller: create classroom using the adapter function, return required result/error to frontend
[ ] add student to classroom
[ ] function in routes: receive student name, classroom
[ ] function in controller: generate code for student, store student and code using adapter, store student to classroom using adapter, return student code to frontend
53
Implement the classroom creation.
To be clarified: what prompts can we receive from the frontend?
Adapter functions: should be implemented in tasks #76 and #77, if necessary just create the function headers you need
Steps: