NickPriv / FryRankBackend

A back-end Java application allowing users to create and view reviews for french fries at restaurants
https://fryrank.oxyserver.com
0 stars 0 forks source link

Create InputValidator for Reviews #61

Closed oxyflush closed 2 months ago

oxyflush commented 2 months ago

Create an InputValidator class and implement it for the Reviews object. This can impose business logic validation on values received from the API endpoint and can have finer grain criteria for certain fields in the future. E.g. we can impose a character limit on the review body or scan review body and title for cursewords.