๐Ÿง‘๐Ÿพโ€๐Ÿ’ป prep

CRUD Again

Learning Objectives

We are building a CRUD API. CRUD stands for Create, Retrieve, Update, Delete. If you think about it, this is what most applications do:

โœจ Create some โ€œresourcesโ€ ๐Ÿ• Retrieve them (GET them) ๐Ÿ“จ Update them ๐Ÿ—‘๏ธ Delete them

๐ŸŽฏ Goal

Our API will manage movie data. It will:

โœจ Create a new movie, ๐Ÿ• Retrieve a list of movies or a single movie ๐Ÿ“จ Update a movie

We will build this endpoint:

  1. PUT /movies/:movieId should update a movie (that matches the passed movieId)

๐Ÿ‘‰ You should already have a project using the Node-Starter-Kit. If not, do last weekโ€™s prep before you go on.