Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed User Authentication With Express and Mongo!
You have completed User Authentication With Express and Mongo!
Preview
In this video you'll learn how to install Mongoose and create a connection to a MongoDB database.
New Terms
- ODM — Object Data Modelling
Treehouse Courses and Videos
Instructions
Guides and references
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Although we can submit information
from the form, we don't yet
0:00
have a way to save that data.
0:00
That's where a database comes in.
0:02
In this course we'll use MongoDB
to store user registration data.
0:04
And to make working with Mongo easier,
we'll use a node module called Mongoose.
0:08
Mongoose is what's known as an ODM or
object data modeling library.
0:13
An ODM simplifies the process of adding,
searching,
0:19
and updating records in
a document-based database.
0:22
Mongoose is the most popular ODM for
working with Express and MongoDB.
0:25
So it's a great choice for this project.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up