Skip to content

Conversation

@swarkewalia
Copy link

ℹ️ Issue 97

Closes 97

📝 Description

Added a new endpoint (getApprovedPantries) to return all information necessary for the pantry management frontend about pantries with 'approved' status - includes assigned volunteers.
Added a second new endpoint (updatePantryVolunteers) to overwrite the set of volunteers assigned to a pantry with a new set of volunteers.
Added a type file for pantries and included ApprovedPantryResponse and AssignedVolunteer types.

✔️ Verification

Tested both endpoints using curl. Made sure GET endpoint retrieved all approved pantries with assigned volunteers, and that the PUT endpoint overwrites volunteer assignments successfully.

@swarkewalia swarkewalia changed the title get approved and update volunteer endpoints SSF 97 pantry management backend Dec 4, 2025
@dburkhart07
Copy link

See slack comment

@dburkhart07 dburkhart07 self-requested a review December 6, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants