Of course, it's not good to just accept user input from forms and stick it in the database. I think this can be handled through libraries like yup and/or always sanitizing user input through a custom form submission handler pass thru.
Maybe Prisma already has something for sanitizing by default...
Acceptance Criteria
[ ] Experiment and add some form validation library like yup
[ ] Add validations to all current form elements
[ ] Make sure to sanitize user input before inserting in db
Of course, it's not good to just accept user input from forms and stick it in the database. I think this can be handled through libraries like
yup
and/or always sanitizing user input through a custom form submission handler pass thru.Maybe Prisma already has something for sanitizing by default...
Acceptance Criteria
yup