FREELessons: 34Length: 3.4 hours

• Overview
• Transcript

# 3.3 Creating the Database Schema

While it's true that MongoDB is very flexible and doesn't need a "hard" schema like a relational database, from a software development perspective it makes sense to define what the objects being stored in MongoDB look like. This simply makes the development process easier to understand when we're working with the collections stored in MongoDB. So in this lesson, you'll learn how to use Mongoose to create two schema definitions for your apps.