How do you add express to your package dependencies?
you use:
npm install express
What Express application method starts the server and binds it to a network PORT?
app.listen(x)
x is the designated port
What does the express.json() middleware do and when would you need it?
parse incoming request with json payloads.
it is used when the content type header matches content type
What does express.static() return?
its a middleware function
What is the local __dirname variable in a Node.js module?
it is the name of the directory that you are currently in
What does the join() method of Node’s path module do?
it joins all given path segments methods together and returns it into a string.