Question: CRUDify the application Refactor the courses route to handle the same HTTP methods as the demo video / book Get All Create Get One Update
CRUDify the application
Refactor the courses route to handle the same HTTP methods as the demo videobook
Get All
Create
Get One
Update One PUT
Delete One
Add the catch to delete the id from the request body to libsmiddlewaresjs this will require the installation and utilization of the bodyparser node module
Don't forget to catch errors and return the property HTTP statuses
Create a Users model, copy from the demobook modelsusersjs
For your this project the User will be college records staff, so each user can own multiple courses so be sure to set up the onetomany relationship correctly
Don't forget to delete the sqlite file after updating the model
Create a Users route to Get One, Delete One, and Create routesusersjs
Test your CRUD operations with Postman
I need some help with this one I am a little stuck working through it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
