Closed crertel closed 7 years ago
This extends the work done in #3 to cover the needs routes. As before: Some things to make front-end dev life easier:
needs
updated_at
new Date()
updatedAt
phone
cleanPhone
supply_needs
volunteer_needs
This extends the work done in #3 to cover the
needs
routes. As before: Some things to make front-end dev life easier:updated_at
wants to be RFC3339 in UTC so frontend devs can just throw it into anew Date()
and get something usefulupdated_at
->updatedAt
phone
should also havecleanPhone
which is just the concatenated digits for phone numbers (may be wrong on this)supply_needs
andvolunteer_needs
should be merged intoneeds
, and be an array of strings (reducing parsing reqs on frontend)