Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Roadmap · Foundations

MongoDB

Opens with credits

For students and early-career engineers who want to use MongoDB properly from JavaScript, Python or Java, not just store JSON in it. By the end you can query and change documents confidently, model data around your queries, index and aggregate with evidence, and run MongoDB safely from application code.

Curated by Tauseef Fayyaz8 stages, 66 topics~5 months at a few hours a week

By the end, you will be able to

  • Write correct queries and updates with query operators, update operators, arrays and nested fields in mongosh, and explain why each matches the documents it does
  • Model data around your application's queries, choose between embedding and referencing, and apply the common schema design patterns with a validation rule to protect them
  • Read explain() output, design compound indexes with the ESR guideline and prove the speed-up with before-and-after numbers
  • Build reports with the aggregation pipeline, including $group, $unwind, $lookup and $facet, and know its memory and size limits
  • Use MongoDB from your code with one shared client, safe filters, range-based pagination, the right write concern and transactions where they are genuinely needed

The path

8 stages, in the order to learn them. Open one to start.

  1. 1Documents and your setupLearn what documents, BSON and collections are and when MongoDB is the right fit, then set up a free Atlas cluster or a local server with mongosh and Compass, and load a sample dataset to practise on.8 topics · ~2 weeks
  2. 2Reading and writing documentsInsert, find, update and delete documents in mongosh: filter with query operators, shape results with projection, sort and limit, change fields with update operators, and know when to upsert or replace.9 topics · ~2 weeks
  3. Arrays and nested documentsQuery and update fields inside nested documents and arrays with dot notation, $elemMatch and the array and positional update operators, and learn why the 16 MB document limit shapes your design.6 topics · ~2 weeksOpens with credits
  4. Data modelling and schema designDesign documents around the queries your application runs: choose between embedding and referencing by cardinality, apply the common schema design patterns, avoid unbounded arrays and protect the design with $jsonSchema validation.8 topics · ~3 weeksOpens with credits
  5. Indexes and query plansLearn how MongoDB indexes work, read explain() output, design compound indexes with the ESR guideline, use multikey, unique, partial and TTL indexes, and prove each improvement with measurements.9 topics · ~2 weeksOpens with credits
  6. The aggregation pipelineBuild reports with the aggregation pipeline: filter with $match, total with $group and accumulators, flatten arrays with $unwind, join with $lookup, run several reports at once with $facet, save results with $merge, and know the pipeline's limits.9 topics · ~3 weeksOpens with credits
  7. MongoDB from your codeUse MongoDB from your language with one shared client, typed models, safe filters, proper handling of duplicate key errors and range-based pagination, and know what retryable writes and change streams do for you.8 topics · ~3 weeksOpens with credits
  8. Transactions, replication and operationsUnderstand replica sets, write concern, read concern and read preference, use multi-document transactions only where they are needed, see how sharding and shard keys work, and handle users, network access, backups and monitoring.9 topics · ~3 weeksOpens with credits
Keep reading

6 more stages, 49 more topics, free with an account.

You have seen the open stages of the MongoDB roadmap. Every topic it covers is listed above, and an account opens the rest: what each topic means, a question to check yourself, the courses, the practice and Tauseef's advice for every stage. Early access is open: sign up and your account is active shortly after.

Everything here is free to learn from. A few things, like adding a roadmap, keeping a cheat sheet or asking Tauseef a question, use credits. You get 15 when you join, your first roadmap is free, and if you are learning seriously and run out, you can ask for more. Credits only make sure the platform goes to people who are actually learning.

Build a project

A finished project proves more than a certificate.

  • Start with this oneintermediate1 semester · 2 students
    Multi-Vendor Product Catalogue with Faceted Search on MongoDB

    Products with varied attributes, the extended reference pattern and a $facet search page with real indexes

    • MongoDB (Atlas free cluster or local)
    • Node.js with the MongoDB driver
    • Next.js or React
    • mongosh and Compass
    • k6 or autocannon for load tests
  • intermediate1 semester · 2 students
    Team Chat App with Threads and Read Receipts on MongoDB

    Tests modelling without unbounded arrays, range-based pagination and change streams for live messages

    • MongoDB replica set (Atlas free cluster)
    • Node.js with Socket.IO or WebSockets
    • MongoDB Node.js driver or Mongoose
    • React or Next.js
    • k6 for load tests
  • intermediate1 semester · 2 to 3 students
    IoT Sensor Readings Store with Bucketed Time Series in MongoDB

    The bucket pattern, TTL indexes and aggregation over millions of readings, with measured results

    • ESP32 with DHT22 or DS18B20 sensors
    • MQTT (Mosquitto)
    • Node.js or Python ingestion service
    • MongoDB time series collections
    • React or Next.js dashboard

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com