Skip to content

Resolve "Create missing endpoints (CRUD)"

Föll Jonas requested to merge 23-create-missing-endpoints-crud into main

Closes #23 (closed)

Update

  • DELETE endpoint for class User to delete user + profile from database
  • PATCH endpoint for class user, one for email update, one for password update
  • DELETE endpoint for class Review to delete a review from database
  • PATCH endpoint for class Review to update an existing review
  • Included email+password verification for GET profile endpoint
  • Changed User methods findByUsername and findByEmail to findByUsernameIgnoreCase and findByEmailIgnoreCase -> methods are no longer case sensitive
  • Included code in createReview and deleteReview to increment or decrement attribute reviews in class Movie and datatype from String to Integer (Total amount of reviews a movie has)

Merge request reports

Loading