Introduction
Introduction to data modeling
()
Prerequisites
()
The problem domain: Social media project
()
MongoDB Modeling Basics
Mongo ERD vs. SQL
()
Application-driven architecture
()
Query-first modeling
()
Challenge: Create the "golden" model object for an online retailer
()
Solution
()
Complex Modeling
Embedded documents as subdocuments
()
Summary and partial documents
()
One-to-one relationships
()
One-to-many relationships with embedded documents
()
One-to-many relationships with back references
()
Many-to-many relationships
()
Challenge: Create the proper relationships and summary documents for an online store
()
Solution
()
Implementation Tools
Schema versioning
()
JSON Schema
()
Modeling tools
()
ORMs
()
Challenge: Create a schema in a visual tool and in Mongoose
()
Solution
()
Using Copilot for business modeling
()
Working with an AI CoPilot to fine-tune your schema
()
Challenge: Create a schema with AI CoPilot
()
Best Practices
Embedding vs. references
()
Optimization: Antipatterns
()
Optimization: Best practices
()