- The document discusses refactoring an application stack to use MongoDB and Mongoose. It describes some benefits of using a document-oriented database like MongoDB, including dynamic schemas, rich querying, and JavaScript support.
- It provides an overview of Mongoose and what it is (a schema-driven ODM for MongoDB), and some of its features like validation, queries, population, and plugins.
- In conclusion, it recommends using MongoDB and Mongoose to refactor an application stack for the benefits of a document database and Mongoose's features.
rows -> other lang object oriented representation\n
finally returns json. How can we improve?\n
\n
\n
\n
\n
which one of these is not like the other?\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
open the mongo shell\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
intro to apps with node + mongo\n basic driver -> mongoose\n connect\n get a collection\n save a doc\n query a doc\n mongoose\n design a schema\n need example with custom methods, statics, hooks, validation, population\n streaming results\n \n \n
\n
intro to apps with node + mongo\n basic driver -> mongoose\n connect\n get a collection\n save a doc\n query a doc\n mongoose\n design a schema\n need example with custom methods, statics, hooks, validation, population\n streaming results\n \n \n
intro to apps with node + mongo\n basic driver -> mongoose\n connect\n get a collection\n save a doc\n query a doc\n mongoose\n design a schema\n need example with custom methods, statics, hooks, validation, population\n streaming results\n \n \n
\n \n
intro to apps with node + mongo\n basic driver -> mongoose\n connect\n get a collection\n save a doc\n query a doc\n mongoose\n design a schema\n need example with custom methods, statics, hooks, validation, population\n streaming results\n \n \n