Modifying Study Groups

In this lesson we’ll create an endpoint to modify an individual study group in the MongoDB database.  The code for this lesson will be written and discussed in class.

Tasks

  • Create PATCH /studygroup/:id endpoint
  • Test on localhost using Postman

Homework

Add the PATCH /studygroup/:id endpoint to your API server.  Add edit buttons to all of the study groups entries in the study group search results that belong to the user who is logged in.   The edit buttons should allow the user to modify the data in the study group that is permissible by the PATCH endpoint.

© 2024, Eric McGregor. All rights reserved. Unauthorized use, distribution and/or duplication of this material without express and written permission from the author is strictly prohibited.