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

Issue 43 API endpoint for leaderboard - Individual and Team Filters (with tests) #69

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

allyharrison
Copy link

@allyharrison allyharrison commented Jan 18, 2025

Change Summary

Going to split this issue into a couple of PRs to keep them a manageable size.
This PR is for the Individual Categories and Team Categories views with filters.

Implemented Leaderboard endpoints using viewsets, which includes a HTML view of the API response when open in a web browser, like this:
image

These endpoints are specifically based on the CSV/Google Sheets provided by the client:
image

image

Had to adjust some of the models along the way as they are missing some of the fields used by the client.

Includes tests 👍

Change Form

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

We will probably need to make more issues so that the frontend can make matching views.

Related issue

@allyharrison allyharrison added the backend Task must have a back end issue label Jan 18, 2025
@allyharrison allyharrison force-pushed the issue-43-Create_API_endpoint_for_leaderboard branch from c300088 to 9a39e73 Compare January 24, 2025 05:53
@allyharrison allyharrison force-pushed the issue-43-Create_API_endpoint_for_leaderboard branch from 9a39e73 to da57ca1 Compare January 24, 2025 05:54
@allyharrison allyharrison force-pushed the issue-43-Create_API_endpoint_for_leaderboard branch from b8bf3c9 to 59ca91f Compare January 24, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Task must have a back end issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create API endpoint for leaderboard
2 participants