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 Grading Service (POST /cs3213/parser endpoint only) #29

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

tryyang2001
Copy link
Owner

Pull Request

Description

This PR set up the base structure of grading service, create one simple API wrapper for ITS API POST /cs3213/parser endpoint. The most important endpoint will be the POST /cs3213/feedback_error, which is still in progress and will have another PR later.

To test calling the grading service API, follow the below instructions:

  1. Run yarn to install necessary dependencies
  2. Run yarn dev to start the server locally on port 8088
  3. Use Postman, call the endpoint POST /grading/api/parser/generate, the required input request body is exactly the same as the ITS API.

Related Issue(s)

Screenshots (if applicable)

image
The output is not human-readable, but this parser string will be the value we needed in the request body of POST /cs3213/feedback_error fyi.

Checklist

  • I have checked that the changes included in the PR are intended to merge to master or any destination branch.
  • I have verified that the new changes do not break any existing functionalities, unless the new changes are intended and have approved by the team.
  • I will take care of the merging and delete the side-branch after the PR is merged.

Additional Notes/References

@tryyang2001 tryyang2001 requested a review from WillCWX March 16, 2024 07:25
Copy link
Collaborator

@WillCWX WillCWX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tryyang2001 tryyang2001 merged commit 38c7a8d into master Mar 16, 2024
3 checks passed
@tryyang2001 tryyang2001 deleted the tryyang/create_grading_service branch March 16, 2024 15:31
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

Successfully merging this pull request may close these issues.

2 participants