Closed jpahm closed 6 days ago
Can I work on this? I want to practice querying the MongoDB database and building API a bit more.
Can I work on this? I want to practice querying the MongoDB database and building API a bit more.
You're more than welcome to!
Hi! I've made the pull request. Hope you will review it and give me feedback.
Thank you.
Thanks, I will review it shortly!
Hi @jpahm, I've fixed the problem about options limit, so I just want to let you know in case you haven't been aware of it yet. Thank you.
Hi @jpahm, I've fixed the problem about options limit, so I just want to let you know in case you haven't been aware of it yet. Thank you.
Thank you, I will take a look!
Currently, it can be inconvenient and overcomplicated for our end users to perform some common aggregate operations such as getting all of a professor's courses.
As such, we should add the following endpoints which immediately aggregate and return matching professor's courses:
GET /professor/courses
(allows for querying like the base professor endpoint)GET /professor/{professorId}/courses
(gets courses only for a specific professor)