Mongoose is a Node package that interacts with a running MongoDB database. Before learning about Mongoose, let’s define a couple of key terms:
What is Data?
Data in the context of software and web development is digital information.
What is a Database?
A database is a structured set of data held in a computer.
Databases support storage and manipulation of data. For a web application to have persistence, a developer uses a database to store data. The developer can write methods to create, read, update, and delete information in the database.