Authentication and Full Stack Development Flashcards

1
Q

What is bookshelf

A

It is an ORM tool to map javascript code to SQL code.

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

What is a session

A

A session is a server-side storage of information that is desired to persist throughout the user’s interaction with the web site or web application

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

What is express middleware library to create sessions

A

express-session

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

What is the encryption mechanism that we use to store password in this project

A

bcrypt-nodejs

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

What are the 2 processes prior to store your password in the database

A

salt and hash

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

What is app.use for

A

This is used to call the middleware specified in the invocation argument

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

What is body-parser use for

A

To parse the incoming request and make it available under request.body

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

What is response.locals

A

An object to store data that will only be available specific to a request.

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