HackYourFuture-CPH / FP-class11

Class11 Final Project - A collaboration between HYF and Seasony
MIT License
5 stars 8 forks source link

Endpoint to GET/READ the Batch data #121

Closed dpfernandes closed 4 years ago

dpfernandes commented 4 years ago

When I want to see more information about a specific batch I go to the Batch Details Page.

Screenshot 2020-04-06 at 14 32 10

Create an endpoint using nodejs and knex that retrieves all the data of a specific batch. So you have to use an SELECT statement that filters the data from the Batch Table using the batch_id. Check database diagram for table references for which fields can be retrieved on db diagram available on the README file.

Add this endpoint to Swagger on https://github.com/HackYourFuture-CPH/FP-class11/blob/develop/src/server/config/swagger.json

dpfernandes commented 4 years ago

Solved on PR #165