Change volunteer, auth, and donation route names to follow route naming conventions. In volunteer.js, we have routes that should be grouped together, rather than having separate names. For example, all volunteer related routes should begin with /api/volunteer, followed by its specific sub-collection. Any requests in the frontend should also be updated to reflect this new convention.
Auth routes are all routes containing /auth or using passport.<...>
Change
volunteer
,auth
, anddonation
route names to follow route naming conventions. Involunteer.js
, we have routes that should be grouped together, rather than having separate names. For example, allvolunteer
related routes should begin with/api/volunteer
, followed by its specific sub-collection. Any requests in the frontend should also be updated to reflect this new convention./auth
or usingpassport.<...>
Make sure you test these routes!