stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
JS - Express and Middleware Flashcards | StudBud
Explore
/
JS - Express and Middleware
JS - Express and Middleware
10 terms
·
StudBud Administration
·
334 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
Express is a lightweight framework built for ____________ to simplify web development.
JSON
HTML
Node.js
React.js
2
What function allows our application sequential?
req()
next()
res()
use()
3
Express does not support NoSQL Databases, it only supports Relational Databases.
True
False
4
Which one is not a valid HTTP request?
PUT
DELETE
PUSH
GET
5
What is the correct way to use a route method?
app.get('/', function (req, res){ ... }
app('/', get(req, res) { ... }
app(get('/', function(req, res)) { ... }
get.app('/', function(req, res) { ... }
6
What type of requests is Express designed to handle?
JS
SQL
URL
HTTP
7
By convention, which arguments does the middleware function take?
req, res, next
req, next
get, post
get, req, next
8
In Express, what
function makes it possible to apply a function to the whole application?
get()
use()
put()
next()
9
How do you import a module in Node.js ?
Using app.use() function
Using include() function
Using module.import
Using require() function
10
Express is like the connective tissue between applications, data, and users.
False
True