Karen would like the ability to post a public leaderboard as a sorted list of name, points pairs, where "name" is a pseudonym that the student chooses and an instructor enters for them and "points" are points assigned by their instructor as they take classes.
This requires:
Database:
Expand student table with pseudonym (text), points (float)
Backend:
Add new GET /leaderboard that returns sorted (by points descending) list of pseudonym, point pairs
Modify GET, PUT /students/{student_id} to include pseudonym and points. Pseudonym and points are editable only by instructor.
Front end:
Add pseudonym and points to StudentData in Student.ts
Add pseudonum and points to StudentFormBody.tsx. Pseudonym and points are editable only on instructor/admin pages.
Karen would like the ability to post a public leaderboard as a sorted list of name, points pairs, where "name" is a pseudonym that the student chooses and an instructor enters for them and "points" are points assigned by their instructor as they take classes.
This requires: