express-intro Flashcards

1
Q

How do you add express to your package dependencies?

A

Type “npm install express” after creating a package.json file using “npm init –yes” or just “npm init”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What Express application method starts the server and binds it to a network PORT?

A

The .listen() method. This method is used on the express application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly