Question: Requirements Step 1 Write the code needed to return all films in the database with a proper RESTful request. Accomplish this in a ' /

Requirements
Step 1
Write the code needed to return all films in the database with a proper RESTful request.
Accomplish this in a '/films' route
You will need a new films.js routes file
You will need a model for the film table if you have not already created one
Step 2
Create a route that will return the details of one film based on it's Id where the Id is passed as part of
the route.
Step 3
Be able to "update" a film title
Step 4
Once a film has been updated, re-route back to '/films '
Caution!
Be sure to zip and submit your entire express_lesson_six directory when finished!
 Requirements Step 1 Write the code needed to return all films

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!