Kalfis / Movies-with-Friends

Project 3 Group
0 stars 0 forks source link

Delete a movie from a user's list of want-to-see or have-seen #14

Open maggielove opened 9 years ago

maggielove commented 9 years ago

Steps involved:
1) Figure out how to pull movies from the API into our personal database. 2) Figure out how to add a movie from the database into a user's profile. 3) Try deleting a movie from a user's profile without deleting it from the overall database. (Figure out if deleting a movie from one user will delete it from the profiles of other users with the same movie.) --maybe: deleting a movie objectId from a user's profile?

(Note: Think about giving the user the option to do this either on the show page for a movie or on the user's list.)

-First: try with curl or postman -Ultimately: delete button -Make sure it's not deleted from the entire database--just from a user.

(movies controller file)

luisarce5 commented 9 years ago

Added route in the movies controller under router.route('/searchByTitle/:title') with .delete action.