In this lesson we’ll create an endpoint to get a set of studygroup entries from the MongoDB database. The code for this lesson will be written and discussed in class.
Tasks
- Create
GET /studygroups
endpoint - Test with Postman on Localhost
Homework
Add the GET /studygroups
endpoint to your router. Implement a page or modal in your client that allow the user to use all of the search criteria allowed by the endpoint and display the list of study groups returned by the 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.