Authentication and Full Stack Development Flashcards
What is bookshelf
It is an ORM tool to map javascript code to SQL code.
What is a session
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
What is express middleware library to create sessions
express-session
What is the encryption mechanism that we use to store password in this project
bcrypt-nodejs
What are the 2 processes prior to store your password in the database
salt and hash
What is app.use for
This is used to call the middleware specified in the invocation argument
What is body-parser use for
To parse the incoming request and make it available under request.body
What is response.locals
An object to store data that will only be available specific to a request.