Closed crertel closed 7 years ago
Some things to make front-end dev life easier:
updated_at
new Date()
updatedAt
phone
cleanPhone
supply_needs
volunteer_needs
needs
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)