Intro to MongoDB and Mongoose

I finally reached the part of the tutorials that introduced me into MongoDB and Mongoose. MongoDB is a NoSQL which makes it more flexible and dynamic then a SQL database. This part of the tutorial showed me how to install mongoDB into cloud 9, how to get it running and so introduction to commands that we can use inside the mongo shell. I learned to use the mongo shell to make a new database, collections inside the database, and how to insert new objects, find the objects, update and remove objects inside these collections.

Mongoose is a object modeling tool that helps interact with MongoDB much easier. From the tutorials I learned how to install Mongoose and how to connect to mongo with it. I learned how to make a new object schema and model. I learned the new commands that model open up for us. I was able to create new objects and find them from our JS file and console log it in the terminal.

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

css.php