07 - DATABASE MANAGEMENT AND MODELING Flashcards
1
Q
mongoose installation guide
A
2
Q
creating mongodb deployments and service
A
3
Q
create mongodb connection
A
const start = async ( ) => {
await mongoose.connect(mongodb-url);
}
4
Q
A
5
Q
user model with email and password
A
6
Q
add model method to create user, with typescript types
A
7
Q
create interfaces for user attributes and created user properties
A
8
Q
generic typecasting in typescript
A
9
Q
create a custom badrequest error for existing user trying to signup
A
10
Q
mongodb hash password with pre save callback
A
11
Q
A