HackYourFuture-CPH / Guide-IT

Guide IT, a tool to help newcomers decide their IT path
MIT License
3 stars 1 forks source link

POST endpoint for api/quiz-results #119

Closed TITHI1244 closed 3 years ago

TITHI1244 commented 3 years ago

Description

Created the POST endpoint for api/quiz-results and that takes answer id and user id as parameters.

Fixes #34

How to test?

First run npm run dev. Then go to Swagger ui (http://localhost:3000/api/documentation/#/quiz_results/post_quiz_results) and post some data into quiz_results table.

Checklist

Poorooshka commented 3 years ago

Hi Tithi! According to what Daniel told me today I guess we need to Edit the name of the PR and remove the word "created" from the beginning.

Poorooshka commented 3 years ago

The POST endpoint for quiz-results table was tested and it works pretty fine. Very good job!