ucsb-cs156-s24 / proj-organic-s24-5pm-3

https://ucsb-cs156-s24.github.io/proj-organic-s24-5pm-3/
0 stars 1 forks source link

[merge] Feature: add a single student to the course API #68

Closed yuxiaolejs closed 1 month ago

yuxiaolejs commented 1 month ago

In this PR, I created endpoint for creating a single student in the course.

Pre-req

Nothing is needed before this branch gets merged. However, this branch can help the test of #46

Feature

The endpoint is at /api/students/post, and shows as follows on swagger:

image

User story

As an instructor, or teaching team member, I can add students to the repo without batch import. This is useful for students coming from waitlist.

As a developer, I can test my course controller by adding individual dummy students (when used with the users API).

Deployment

Our dokku server is running out of memory... Waiting for server

Limitation

This feature does not have corresponding frontend pages created yet.

This is reqired by https://github.com/ucsb-cs156-s24/proj-organic-s24-5pm-3/pull/46

Closes #61