View on GitHub

401-reading-notes

CLASS 03

REVIEW, RESEARCH AND DISCUSS

Middleware Uses

Is route handler a middleware?

In what ways can a middleware function end the process and send data to the browser?

#### At what point in the request lifecycle can you “inject” middleware?

### TERMS

middleware are functions that execute between request and response.

request object is the data sent from the client to the server.

response object is the data sent from the server to the client.

application middleware is a software working between request and response.

routing middlewareis a routing software working between request and response

test driven development or TDD is a principle of testing the app

 continuosly fixing bugs using continiuos integration.

HOME