You must be logged into Blackboard for the videos below to show!
Updating Data on Server and Client
Assignment Next Step
Connect Add Section
- in
Course
where the sections state is being held, use an axios post
to update the
server when you add a new section to a course
- you'll need to create a server
post
route that takes the course id and instructor id to assign
- after inserting the new section into the database, the server should return the last insert id to the client
- as in the example, when the client receives confirmation that the new section has been added on the server, it needs to update the local state to match
Connect the Rest
- follow the same process to hook up changing a section instructor, removing a section, and adding a new course