Question: Develop a GraphQL API for managing professors and courses. . One Professor may have multiple courses but one course will have one professor only. .

 Develop a GraphQL API for managing professors and courses. . One

Develop a GraphQL API for managing professors and courses. . One Professor may have multiple courses but one course will have one professor only. . Professors have fields - id, first name, last name. Id & first name cannot be null. Last name can be null. . Courses have following fields - id, course name. Both cannot be null. . You must add GraphiQL interface to the API. . The API must be capable of responding to following requests from Client. 1. Return All Professors 2. Return All Courses 3. Return courses for a specific professor 4. Return a specific professor - client must pass id in args 5. Return a specific course - client must pass id in args 6. Add a Professor 7. Add a Course to a Professor You must also write queries to do the above operations. Queries must be uploaded as wordfile. You must give a title to the query. You can use the demo done in class as a starting point of this app (Code has been uploaded to eCentennial) . Database is not mandatory . You must upload the code & queries as .zip file. Please don't upload the node_modules

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!