Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDU-13 Post module exam #34

Closed
TylerSchaefer4 opened this issue Oct 2, 2023 · 0 comments · Fixed by #39
Closed

EDU-13 Post module exam #34

TylerSchaefer4 opened this issue Oct 2, 2023 · 0 comments · Fixed by #39
Assignees

Comments

@TylerSchaefer4
Copy link
Contributor

TylerSchaefer4 commented Oct 2, 2023

POST /modules/:moduleId/exams/:examId/submissions (Make this similar to the route you designed for the get request)

this endpoint should accept the user's answers, evaluate them, update the user's score (this will reference the moduleExamScores json structure within the users table. Add a json to this value along the lines of {moduleId: X, moduleExamId: Y, score: int}), and return the result to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants