Skip to content

Latest commit

 

History

History
62 lines (33 loc) · 915 Bytes

09-Add-MongoDB-with-Mongoose.md

File metadata and controls

62 lines (33 loc) · 915 Bytes

[Kamil Mysliwiec, Mark Pieszak] NestJS Fundamentals Course [ENG, 2020]


NOT WORKS!!!

09 Add MongoDB with Mongoose (Bonus)


072. Before we Get Started


073. Prerequisite Install Docker


074. Running MongoDB

$ cd api-mongodb/
$ docker-compose up -d

075. Introducing the Mongoose Module

$ npm install mongoose @nestjs/mongoose

// If would errors, deinstal it
$ npm install --save-dev @types/mongoose

076. Creating a Mongoose Model


077. Using a Mongoose Model to Access MongoDB


078. Adding Pagination


079. Use Transactions


080. Adding Indexes to Schemas




Marley

Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат