HackYourFuture-CPH / FP-annotatetheweb-class10

Final Project for Class10 - Annotatetheweb.com
MIT License
3 stars 0 forks source link

Create endpoint for listing comments #108

Closed bytewiz closed 4 years ago

bytewiz commented 4 years ago

When I want to retrieve comments for an annotation, I want to be able to list all comments added to a specific annotation.

Create an endpoint for using nodejs, knex and a database table with will be able to read the data for the comment. So you have to use a SELECT statement to add it to the database using knex, check database diagram for table references: https://dbdiagram.io/d/5dd6b6f7edf08a25543e3621