07 - DATABASE MANAGEMENT AND MODELING Flashcards

1
Q

mongoose installation guide

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

creating mongodb deployments and service

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

create mongodb connection

A

const start = async ( ) => {
await mongoose.connect(mongodb-url);
}

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

user model with email and password

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

add model method to create user, with typescript types

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

create interfaces for user attributes and created user properties

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

generic typecasting in typescript

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

create a custom badrequest error for existing user trying to signup

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

mongodb hash password with pre save callback

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