The video for this lesson is currently being updated, please read the transcript instead.

Mongoose models

Obviously we want our API endpoints to return useful data. So we'll need some way of storing and retrieving data.

Let's use MongoDB for this purpose, as it allows us to easily create and persist our items, as well as user information for later when we authenticate the API.

Mongoose

In this project, we'll be using Mongoose for our interactions with the Mongo database. Mongoose is as an "ORM" library, which stands for object-relational mapping.

To view the complete lesson you'll need to login or join this course.


Click to load comments...