MongoDB Course
MongoDB is a document database: instead of rows split across rigid tables, it stores flexible, JSON-shaped documents grouped into collections. If you've taken this site's SQL course, most of what you already know about filtering, sorting, and combining data still applies here — the syntax and the underlying data model are just different. If you haven't, that's fine too; this course doesn't assume any SQL background.
What you'll learn
You'll start with the fundamentals — connecting with mongosh, databases and collections, and the four basic operations every database needs: inserting, querying, updating, and deleting documents. From there the course moves into indexes (for performance), the aggregation pipeline (for reshaping and summarizing data), and finally the single most important design decision in MongoDB: whether related data should be embedded inside a document or kept in a separate collection and referenced.
Every lesson runs real mongosh commands and shows the exact JSON-shaped output MongoDB returns, so what you read here is what you'd actually see typing the same command yourself.
Lessons
- Introduction
- Databases & Collections
- Inserting Documents
- Querying Documents
- Updating Documents
- Deleting Documents
- Indexes
- The Aggregation Pipeline
- Schema Design: Embedding vs Referencing
- Using a Driver