Skip to content

Comments

Ticket 6 Volunteer order matching flow#115

Open
amywng wants to merge 3 commits intomainfrom
acw/volunteer-order-matching
Open

Ticket 6 Volunteer order matching flow#115
amywng wants to merge 3 commits intomainfrom
acw/volunteer-order-matching

Conversation

@amywng
Copy link
Member

@amywng amywng commented Feb 23, 2026

ℹ️ Issue

Closes ticket 6 here

📝 Description

  • Fixed food request/allocation entities and updated ER diagram to reflect changes
  • Created two endpoints in request.controller.ts to find matching/non-matching manufacturers and donation items corresponding to food requests
  • Refactored request service tests to use testDataSource and wrote controller/service tests for new endpoints
  • Removed exception propagation tests from order and pantry controllers
  • Added navigate back to home page in unauthorized.tsx, removed landingPage and pantryOverview pages, and added login/signup routes to homepage when user is signed out for better devx

✔️ Verification

Tested endpoints in Postman, verified tests all passed, smoke tested all pages.

🏕️ (Optional) Future Work / Notes

Note for reviewer: the type in the requestedFoodTypes column in the request entity has to be text, otherwise TypeORM incorrectly splits values w/ commas in them (e.g. Dried Beans (Gluten-Free, Nut-Free)) into multiple array elements

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