Skip to content

Added Tournament Routes#158

Merged
Uttkarsh24 merged 1 commit intoTheGradients:mainfrom
Uttkarsh24:main
Jan 1, 2025
Merged

Added Tournament Routes#158
Uttkarsh24 merged 1 commit intoTheGradients:mainfrom
Uttkarsh24:main

Conversation

@Uttkarsh24
Copy link
Copy Markdown
Collaborator

This pull request introduces several enhancements to the tournament management system, including new functionalities and code improvements. The most important changes are the addition of a new endpoint for fetching individual results and the reorganization of routes for better access control.

New functionalities:

  • Backend/src/controllers/tournament.controller.js: Added a new endpoint getIndividualResult to fetch individual tournament results for a user. This endpoint validates the tournament name and user, retrieves the tournament and user position, and returns the result.

Code improvements:

Route reorganization:

@Uttkarsh24 Uttkarsh24 merged commit abf7ee4 into TheGradients:main Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant