Joel.Watson92@gmail.com | LinkedIn: /in/joel3rbear | Twitter: @Joel3rBear
The server runs all of the code that handles requests from clients and returns code to them (such as the webpage itself which can be rendered client or server side)
The express functions that map to CRUD operations are .get(), .post(), .put(), and .delete().
When you run res.send() it actually sends the response back to the client from the server.
The order of operations with the three categories of middleware first takes the request runs the application middleware, then the router middleware runs, and lastly the handler middleware runs and finally the response is passed back.
The next parameter in express is used to move to the next middleware scheduled to run.