You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This goal of this project will be to let users post and retrieve comments on courses. This module creates 1 query and 1 mutation:
Features:
Query: Retrieve all comments for a specific course (Extra pod points: filter by user).
Mutation: Add a new comment for a course.
MongoDB Schema: Stores user comments with timestamps.
Structure:
📂 discussion/typedefs/discussion.ts – GraphQL schema
📂 discussion/controller.ts – Business logic
📂 discussion/resolver.ts – Connects GraphQL to controllers
📂 discussion/formatter.ts – Formats data for output
📂 packages/../models/Discussion.ts – MongoDB schema
Reference the backend module docs for more information on the file structure of a module!
Instructions on getting your local developer environment set up are on the docs
This goal of this project will be to let users post and retrieve comments on courses. This module creates 1 query and 1 mutation:
Features:
Query: Retrieve all comments for a specific course (Extra pod points: filter by user).
Mutation: Add a new comment for a course.
MongoDB Schema: Stores user comments with timestamps.
Structure:
📂 discussion/typedefs/discussion.ts – GraphQL schema
📂 discussion/controller.ts – Business logic
📂 discussion/resolver.ts – Connects GraphQL to controllers
📂 discussion/formatter.ts – Formats data for output
📂 packages/../models/Discussion.ts – MongoDB schema
Reference the backend module docs for more information on the file structure of a module!
Instructions on getting your local developer environment set up are on the docs
Do this in a branch off of the gql branch, and submit a PR once you are done, tagging this issue and adding @maxmwang, @abhisheksuresh2004, @ARtheboss , @adit-bala as reviewers.
The text was updated successfully, but these errors were encountered: