I can navigate from the /courses page to a specific page for each course
So that I can see a page that has just information about my specific course, e.g. place to upload student roster, place to add student or staff etc. (Initially this can just show a course table like the one on the /courses page, but with just one row for the specific course.)
Discussion
We need a page for each course where we can put things such as
Course roster upload link
Staff roster
etc
In particular, we need a place for the student roster upload, and a place for StudentTable to show up. (Those are separate issues).
Your job is simple: build a page that looks a lot like the course page, but it will have the url /courses/{:id}. It will only retrieve one row from the database for the course with id=:id, and show just that one course.
That's it for this issue; then once this is built, we can add many other things.
Acceptance Criteria
[ ] From the /courses page there is a way to navigate to each /courses/:id page, either by a hyperlink (e.g. making the course id or name a hyperlink) or via a button; this is implementers choice.
[ ] When you click that button, you are taken to a page such as /courses/1, /courses/2, etc. that looks just like /courses page (for now) but only has one course shown in the table.
[ ] The courses page reuses the CourseTable React component.
[ ] The courses show page is a different page component from CoursesIndex, called CoursesShow, because we will eventually be putting lots of different stuff on it.
User Story
Discussion
We need a page for each course where we can put things such as
In particular, we need a place for the student roster upload, and a place for StudentTable to show up. (Those are separate issues).
Your job is simple: build a page that looks a lot like the course page, but it will have the url
/courses/{:id}
. It will only retrieve one row from the database for the course with id=:id, and show just that one course.That's it for this issue; then once this is built, we can add many other things.
Acceptance Criteria