Create an endpoint using nodejs and knex that retrieves a list of all the batch and returns the ID and the company_name for each one of the batches. Check database diagram for table references for which fields can be retrieved on db diagram available on the README file.
Create an endpoint using nodejs and knex that retrieves a list of all the batch and returns the ID and the company_name for each one of the batches. 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