Closed semih1239 closed 2 years ago
Who: As a developer What: I want to be able to get all categories from database Why: so that we can use categories database in project
The endpoint needs to return a result so we can use categories sorting component
GET
README file for swagger : https://github.com/HackYourFuture-CPH/fp-class18/#-working-with-api-documentation---swagger
I closed this issue because the api/categories problem was solved earlier.
User story
Who: As a developer What: I want to be able to get all categories from database Why: so that we can use categories database in project
Acceptance criteria
The endpoint needs to return a result so we can use categories sorting component
Implementation details
GET
endpoint for 'api/categories'README file for swagger : https://github.com/HackYourFuture-CPH/fp-class18/#-working-with-api-documentation---swagger