area1707/grace-shopper

Data Validation - Reviews

Opened this issue · 1 comments

All reviews must belong to a product
All reviews must belong to a user
All reviews must be at least X characters

Implementation: Create association with review and product, and review and user, require the review content value be a certain length

associations are done -
the max characters limit might be better done in the front end rather than in the backend to give users a warning for character limit