Skip to content

New Member Onboarding Spring 2025: Course Discussion Board #781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
abhisheksuresh2004 opened this issue Feb 16, 2025 · 0 comments
Open

Comments

@abhisheksuresh2004
Copy link

abhisheksuresh2004 commented Feb 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant