req & res - TristanVarewijck/Block-Tech GitHub Wiki

Ask yourself upon completion:

How does the app instance work?

"Instances are the basic building blocks of App Engine, providing all the resources needed to successfully host your application. At any given time, your application can be running on one or many instances with requests being spread across all of them."

What makes it possible you can do things like app.get or app.listen?

Wat het mogelijk maakt is je server in mijn geval de express.js. Because the app.get() is a function that routes the HTTP GET Requests to the path which is being specified with the specified callback functions (/index.html).

What are the req and res parameters?

req = is an object containing information about the HTTP request that raised the event.

res = In response to req, you use res to send back the desired HTTP response.

resources