Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUN-11] Create GET /teams route #21

Draft
wants to merge 9 commits into
base: development
Choose a base branch
from

Conversation

OtavioSC
Copy link

@OtavioSC OtavioSC commented Aug 8, 2023

Description:
This pull request aims to implement the route /teams to return the list of Forjadev Teams.

Issue: #11

Changes Made:

  • Created /teams route at Gin router
  • Created handler GetTeamsHandler for /teams route
  • Returned data from Teams table and formatted as JSON.
  • Changed database sleep time at make file
  • Documented /teams route with Swagger
  • Created initializeHandler function to get database for all handler package files

Reviewer Notes
We're still adding changes for this pull request as add unit tests.

@OtavioSC OtavioSC added the enhancement New feature or request label Aug 8, 2023
@OtavioSC OtavioSC linked an issue Aug 8, 2023 that may be closed by this pull request
@OtavioSC OtavioSC marked this pull request as draft August 8, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create GET /teams route
3 participants