Mongoose is a Node package that interacts with a running MongoDB database. Before learning about Mongoose, let’s define a couple of key terms:

  • Data
  • Database

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.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?