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-14 post submodule quiz #36

Open
TylerSchaefer4 opened this issue Oct 2, 2023 · 0 comments · May be fixed by #40
Open

EDU-14 post submodule quiz #36

TylerSchaefer4 opened this issue Oct 2, 2023 · 0 comments · May be fixed by #40
Assignees

Comments

@TylerSchaefer4
Copy link
Contributor

TylerSchaefer4 commented Oct 2, 2023

POST /submodules/:submoduleId/quiz/: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 subModuleQuizScores json structure within the users table. Add a json to this value along the lines of {submoduleId: X, subModuleQuizId: Y, score: int}), and return the result to the user.

@TylerSchaefer4 TylerSchaefer4 changed the title EDU-14 post EDU-14 post submodule quiz Oct 2, 2023
@kaamil2 kaamil2 linked a pull request Oct 10, 2023 that will close this issue
@kaamil2 kaamil2 linked a pull request Oct 10, 2023 that will close this issue
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