Skip to content

Add API routes for teams, submissions, members, and rankings - #25

Merged
CharlieSuarezRobles merged 4 commits into
mainfrom
feature/api-routes
Nov 9, 2026
Merged

CharlieSuarezRobles merged 4 commits into
mainfrom
feature/api-routes

Conversation

@wasiddiqui-glitch

Copy link
Copy Markdown
Collaborator

Tracking Info

Resolves #21

Changes

  • Added GET /api/teams, PATCH /api/teams/:id, DELETE /api/teams/:id
  • Added PATCH /api/members/:id
  • Added GET /api/submissions (with status filtering), POST /api/submissions, PATCH /api/submissions/:id, DELETE /api/submissions/:id
  • Added GET /api/rankings, DELETE /api/rankings/:id
  • Added photoKey → photoUrl transformation for submissions, members, and rankings

Testing

  • Verified all routes are registered in index.ts
  • Lint and Prettier checks pass

Confirmation of Change

  • Routes are backend-only with no visible UI change.

@CharlieSuarezRobles CharlieSuarezRobles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Everything that you were supposed to do looks good! There were just a few problems I noticed with some routes I wrote previously. Can you fix these issues? I wrote some comments.

@sofheim sofheim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from Charlie's comments, everything else looks good.

@CharlieSuarezRobles
CharlieSuarezRobles merged commit c4c9a3d into main Nov 9, 2026
2 checks passed
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.

Backend routes

3 participants