HackYourFuture-CPH / Guide-IT

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

Backend: Endpoint to create a new ANSWER - POST api/answers #103

Closed dpfernandes closed 3 years ago

dpfernandes commented 3 years ago

User story

Who: As a developer What: I want to be able to create a new ANSWER associated to a specific QUESTION using a POST endpoint Why: so that we can add a ANSWER to the APP.

Implementation details

Look at the database diagram for details on what fields to add -> https://github.com/HackYourFuture-CPH/Guide-IT#%EF%B8%8F-database-model-diagram

Check the README file here https://github.com/HackYourFuture-CPH/guide-it#-working-with-api-documentation---swagger and this article should also help you with that https://blog.logrocket.com/documenting-your-express-api-with-swagger/