MongoDB Roadmap
A step-by-step MongoDB roadmap: what to learn in order, the related skills and the best places to learn each step.
The stack, end to end
- Frontend: JavaScript, DOM and events, Promises and async/await, ES modules, Fetch API
- Database: MongoDB, Mongoose, Aggregation pipeline, Indexes, Data modelling, Database design, Normalisation, Primary and foreign keys, ER diagrams
- Backend: Node.js, npm, Asynchronous programming, Environment variables
JavaScript
JavaScript makes pages interactive and also runs on servers. Learn the language properly: types, functions, scope, objects and arrays, the DOM, events, promises and async/await, and modules.
Skills
- JavaScript
- DOM and events
- Promises and async/await
- ES modules
- Fetch API
Tips
- Build small things (a to-do list, a quiz, a weather widget) before jumping to a framework.
Where to learn
- javascript.info (course, free)
- MDN: JavaScript (docs, free)
- The Odin Project: JavaScript (course, free)
MongoDB and document databases
MongoDB stores flexible JSON-like documents. Learn collections, queries, indexes, the aggregation pipeline and how to model data when relations are not enforced for you.
Skills
- MongoDB
- Mongoose
- Aggregation pipeline
- Indexes
- Data modelling
Tips
- Design documents around how the app reads them, and remember that indexes matter just as much as in SQL.
Where to learn
- MongoDB University (course, free)
- MongoDB documentation (docs, free)
Database design
Good design prevents messy data. Learn tables, primary and foreign keys, relationships, normalisation, constraints and how to draw an entity-relationship diagram.
Skills
- Database design
- Normalisation
- Primary and foreign keys
- ER diagrams
Tips
- Sketch the tables on paper before creating them.
Where to learn
- PostgreSQL: Data definition (docs, free)
- MySQL documentation (docs, free)
Node.js
Node.js runs JavaScript on the server. Learn modules, the file system, environment variables, asynchronous code, and building a server that talks to a database.
Skills
- Node.js
- npm
- Asynchronous programming
- Environment variables
Tips
- Keep secrets such as API keys in environment variables, never in code you commit.
Where to learn
- Node.js: Learn (docs, free)
- The Odin Project: NodeJS (course, free)
Frequently asked questions
Where should I start with MongoDB?
Start at step 1 and work down in order, because later steps build on earlier ones. If you are signed in, the roadmap compares your resume with each step and marks where you could start.
Is MongoDB worth learning?
Check how many job adverts in your area mention MongoDB, and whether it fits the kind of work you want. This roadmap shows what to learn; the Browse jobs page shows what employers are asking for.
How do I know I am ready to apply?
When you can build a small project from start to finish without copying a tutorial, and explain why you made your choices. Apply while you keep learning; you do not need to know everything.