Joel Watson

Joel.Watson92@gmail.com | LinkedIn: /in/joel3rbear | Twitter: @Joel3rBear


Project maintained by JoelMWatson Hosted on GitHub Pages — Theme by mattgraham

Home » Reading Notes » MongoDB & Mongoose


Class 03 Reading: MongoDB & Mongoose

Why would a developer choose to make data models?

Developers should choose to make data models because they ensure that the data being saved is valid and consistent.

What purpose do CRUD operations serve?

CRUD operations serve the purpose of Creating, Reading, Updating, and Deleting data.

What kind of database is Postgres? What kind of database is MongoDB?

PostgreSQL database is a Relational Database Management System (RDBMS) with rows and columns where as MongoDB is a NoSQL Database that uses documents to represent records.

What is Mongoose and why do we need it?

Mongoose is an ODM (Object Document Mapper) which maps our objects to document records in the database. Sequelize is the PostgreSQL ORM (Object Relational Mapper).

Objects: Students, Teachers School;