Everything I added here works. material-routes.js and student-routes,js are still in progress
I need to set up through tables for both students and materials, since the relationship between both of them is .belongsToMany()
I am not 100% familiar with this off the top of my head so I will need to do some careful testing to make sure that the database is creating the right GET queries, etc.
Everything I added here works.
material-routes.js
andstudent-routes,js
are still in progressI need to set up through tables for both students and materials, since the relationship between both of them is
.belongsToMany()
I am not 100% familiar with this off the top of my head so I will need to do some careful testing to make sure that the database is creating the right
GET
queries, etc.