πŸ§‘πŸΎβ€πŸ’» prep

CRUD

Learning Objectives

We will build 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

We will build these endpoints:

  1. GET /movies should return all the movies
  2. GET /movies/:movieId should return a single movie (that matches the passed movieId)
  3. POST /movies should save a new movie

πŸ‘‰ Fork the Node-Starter-Kit repo and clone it to your computer. Then run npm install to install the dependencies.