IT-Academy-BCN / ita-landing-backend

5 stars 1 forks source link

Feature/calling GitHub api #74

Closed CynthiaPM closed 11 months ago

CynthiaPM commented 12 months ago

In this branch, I have implemented the API call to GitHub for the various repositories of the project using the owner's token. The main component responsible for handling this functionality is the CollaboratorsController, which contains the necessary logic. The retrieved data is filtered to include only the collaborator's name, photo, and GitHub URL.

The implementation adheres to Swagger documentation standards, providing clear guidelines for API consumption. To ensure a streamlined and organized approach, a single URL is used to access the required information.

The implemented functionality has been thoroughly tested, and all tests are passing successfully. This ensures the reliability and functionality of the API endpoints.

---UPDATE---

I have made some modifications to the code regarding collaborators. Now, a single API call will return all the collaborators without any duplicates, as we had several collaborators appearing in more than two projects.

In order to reflect these changes, I have updated the Swagger documentation accordingly. Now, it accurately represents the updated behavior of the API.

Additionally, I have tested the modifications, and I can confirm that all the tests are functioning as expected after the changes were made.

CloudSalander commented 11 months ago

Hi, Cynthia! Good job. Some comments:

Need some time to still checking the feature, but If you can check this firsts issues. Thanks!

CloudSalander commented 11 months ago

Testing the endpoint manually as the Swagger explains, didn't work for me :(

CloudSalander commented 11 months ago

Thank you, Cynthia! Good job. There are two conflicts that I will solve for the sake of the merge.