Skip to content

Mongoose ODM and creating schemas and interacting with the MongoDB database

Notifications You must be signed in to change notification settings

SurendraVidiyala/node-mongoose

Repository files navigation

node-mongoose

  • Explore the Mongoose ODM and learn about creating schemas and interacting with the MongoDB database using Mongoose methods.
  • Install Mongoose ODM and connect to a MongoDB Server
  • Create Mongoose Schemas
  • Perform Database operations with Mongoose methods

Installing Mongoose

  • Create a folder named node-mongoose and move into the folder.
  • In this folder, install Mongoose by typing the following at the prompt:
     npm install mongoose --save
     npm install assert --save