Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

Students also viewed these Databases questions

Question

Compute the mean and variance of (a) 1 0 tdB(t) (b) 1 0 t2 d B(t)

Answered: 1 week ago

Question

design a simple disciplinary and grievance procedure.

Answered: 1 week ago