View on GitHub

reading-notes

CRUD

Reading

 

the request met all validation requirements at the time of sending

 

This tells the client to use another URL to access the resource and not use the current URL anymore.

 

204

 

410

 

The client has authorized or doesn’t need to authorize itself, but still has no permissions to access the resource.

 

Videos

Why do we need to pull our MongoDB database string out of our server and put it into our .env?

because you won’t use the localhost when it’s on another computer/server.

 

it’s code that runs after a request was passed, but before it gets to the route.

 

this lets the server accept json as a body

 

a parameter the client passes to the sever, you can access it through request.params.id which allows you to access whatever they pass after that /.

 

put updates the whole object, patch only updates whatever gets passed from the client.

 

by writing default inside a schema and then using the value/function you want as a value

 

the server had an internal error

 

200 means the request was successful, but 201 says the create request was successful.





301 Home
read01 Introduction to React and Components
read02 State and Props
read03 Passing Functions as Props
read04 React and Forms
read05 Putting it all together
read06 NODE.JS
read07 REST
read08 APIs
read09 FUNCTIONAL PROGRAMMING
read10 In memory storage
read11 Authentication
read12 Mongo and Mongoose
read13 CRUD
read14 Project Ideas
read15 Project Kickoff