WING-NUS / SSID

Student Submission Integrity Diagnosis
18 stars 23 forks source link

Add API key handling and sample GET and POST #325

Closed sibinhho99 closed 1 year ago

sibinhho99 commented 1 year ago

Description

Adds ability to handle API key and sample POST and GET

Related Issue

https://github.com/WING-NUS/SSID/issues/324

Motivation and Context

Part of https://github.com/WING-NUS/SSID/issues/324

How Has This Been Tested?

Local testing using curl as API client.

Bash script with curl commands for testing: https://drive.google.com/file/d/1H3Wch0lVF8GT3s-cticom-cGGfOa-wMw/view?usp=sharing

Screenshots (if appropriate):

Video demo: https://youtu.be/sSrIgyBcdhE

Types of changes

Checklist:

sibinhho99 commented 1 year ago

I sent @florentianayuwono @mengyewgau a a manual patch file for this PR's commit 2b112a4 so that they can apply on their local branch and continue off it while this PR is under review

coveralls commented 1 year ago

Coverage Status

coverage: 0.216% (-0.002%) from 0.218% when pulling c53ef31b4794213e3f050d327cc2bd72eb76b620 on sibinhho99:api into 5ffee50643a836a6ba3e8a6e5a29eb2bcfb87345 on WING-NUS:master.

huyuxin0429 commented 1 year ago

Good progress! Let's merge this in once the full functionality has been developed with the relevant tests.

sibinhho99 commented 1 year ago

This PR has been incorporated into later PRs for the implementations of the routes