Juka1031 / 500Pxy

0 stars 0 forks source link

Design Docs Review - MVP/Schema/Backend Routes #1

Open dsuh93 opened 3 years ago

dsuh93 commented 3 years ago

Hey Julian, good job on your design docs so far, here are some notes and comments about stuff to work on!

Wiki Page Home

Backend Routes

Juka1031 commented 3 years ago

Thanks for the detailed feedback david!

For birthday/age, 500px has age restricted content so I put the age/birthday as a way to filter restricted content, but I may not implement that in the clone.

As for likes I was thinking of doing a polymorphic association as a way to like both galleries and artworks, but that was something I planned on working at the end. So for now, I'll an an extra column in the like table as like_type as a way to have that polymorphic association and change image_id to liked_id that can be either an image or gallery