Do this AFTER the story for "Course Show Page" #55
User story
As an admin or instructor
On the show page for a course, I can upload a file in UCSB eGrades format for my course roster
So that I can see all of the students in my course (and so that later, they can automatically get invited to the github org)
Discussion
In the /docs/examples folder, there is a file eGrades.csv that contains fake student data in eGrades format (the format in which UCSB provides student rosters to instructors.
There is also a pre-existing api endpoint for uploading a course roster called /api/students/upload/egrades that allows uploading a course roster.
Your job is to add, on the course page, a button where the instructor can upload this file in the regular front end instead of via a swagger page link.
You won't be able to see the students yet, because we don't yet have a way to see those in the app, but you can see if they uploaded on the swagger side by visiting /api/students/all.
Acceptance Criteria
[ ] There is a link on the course page where you can upload a course roster.
[ ] After uploading the course roster, you'll be able to see the studnets at /api/students/upload/egrades
Do this AFTER the story for "Course Show Page" #55
User story
Discussion
In the /docs/examples folder, there is a file
eGrades.csv
that contains fake student data in eGrades format (the format in which UCSB provides student rosters to instructors.There is also a pre-existing api endpoint for uploading a course roster called
/api/students/upload/egrades
that allows uploading a course roster.Your job is to add, on the course page, a button where the instructor can upload this file in the regular front end instead of via a swagger page link.
You won't be able to see the students yet, because we don't yet have a way to see those in the app, but you can see if they uploaded on the swagger side by visiting
/api/students/all
.Acceptance Criteria
/api/students/upload/egrades