Skip to content
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

Create Session Feedback Service and Controller and POST endpoint #396

Open
12 tasks
eleanorreem opened this issue Feb 12, 2024 · 4 comments
Open
12 tasks
Assignees
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request help wanted Extra attention is needed state: blocked Task is blocked.
Milestone

Comments

@eleanorreem
Copy link
Contributor

eleanorreem commented Feb 12, 2024

Overview

We want to start collecting feedback about our courses so we know where to improve. This ticket covers creating the controller and service for the session-feedback service and a single endpoint for creating a session-feedback entity. This is currently blocked by this issue

Action Items

  • Create a branch from develop
  • Take a look at a simple controller and service for an entity such as the feature entity. See /src/feature. You can use these as a model for the files you need to create.

The specific files you will need to create are:

  • a file for the session-feedback dto
  • controller
  • interface
  • module
  • repository
  • service

For creating a post endpoint

  • Create a post endpoint in the controller. The body of the request should be a session-feedback dto. It should also return a session-feedback dto. Ensure you validate the body in the request. This request also needs to be behind firebase auth guard (see other endpoints such as POST session-user as an example).
  • You will need a createSessionFeedback service method. Checks the session Id exists and throws if the session doesn't exist. It should store the new session feedback in the database and return the new session-feedback dto.
  • Create a test for the session feedback service to cover success and error states.
  • Commit , push and create a PR tagging @eleanorreem
@eleanorreem eleanorreem added state: blocked Task is blocked. complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days labels Feb 12, 2024
@kyleecodes kyleecodes added feature/enhancement New feature or request help wanted Extra attention is needed labels Mar 25, 2024
@kyleecodes kyleecodes added this to the 02. Roadmaps milestone Apr 24, 2024
@ASCE-D
Copy link

ASCE-D commented May 5, 2024

Is anyone working on this & If not can I work on this?

@eleanorreem
Copy link
Contributor Author

eleanorreem commented May 6, 2024

absolutely! - only issue is this task is blocked by creating the table which is tagged in this issue #395 . Hopefully that will be resolved soon. Thanks so much for your interest

Copy link

github-actions bot commented May 6, 2024

Thank you for your interest in contributing to Chayn! Please carefully read the CONTRIBUTING.md file and the README.md file for guidance. Let us know if you have any questions. Good luck!

@ASCE-D
Copy link

ASCE-D commented May 8, 2024

No issues I'll setup & go through the project, & work as soon as the other issue get resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request help wanted Extra attention is needed state: blocked Task is blocked.
Projects
None yet
Development

No branches or pull requests

3 participants