Concept Flow - Defining schemas and models
Import Mongoose
Define Schema
Create Model from Schema
Use Model to interact with DB
This flow shows how you import Mongoose, define a schema, create a model from it, then use that model to work with the database.