500’s = Server errors. Indicates a problem with an overwhelmed server.
What is status code ‘202’?
202 Accepted response status code indicates that the request has been accepted for processing,
but the processing has not been completed; in fact, processing may not have started yet.
What is a status code 308?
The resource requested has been definitively moved to the URL given by the Location headers.
What code would you use if an update didn’t return data to a client?
404
What code would you use if a resource used to exist but no longer does?
404
What is the ‘Forbidden’ status code?
403
Why do we need to pull our MongoDB database string out of our server and put it into our .env?
So that your .env file has a reference to pull data from?
What is middleware?
database middleware, application server middleware, message-oriented middleware,
web middleware, and transaction-processing monitors.
What does app.use(express.json()) do?
It parses incoming JSON requests and puts the parsed data in request. body
What does the /:id mean in a route?
it is an id for the parent file?
What is the difference between PUT and PATCH?
PUT is a method of modifying resource where the client sends data that updates the entire resource.
PATCH is a method of modifying resources where the client sends partial data that is to be
updated without modifying the entire data.