Skip to content

New Member Onboarding Spring 2025: Course Discussion Board #781

@abhisheksuresh2004

Description

@abhisheksuresh2004

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions