Interview-focused notes for Node.js runtime behavior, async programming, modules, core APIs, and data modeling tradeoffs.
This folder is designed for preparation, not passive reading. Use it to revise quickly, study in a sane order, and build strong answers around runtime constraints, concurrency, and backend architecture tradeoffs.
- Event loop, libuv, thread pool, and runtime architecture
- Callbacks, promises, async/await, streams, and async control flow
- CommonJS, ES Modules, resolution, caching, and core APIs
- Data modeling, SQL vs NoSQL, and persistence tradeoffs
- Operational thinking around performance, blocking work, and resilience
- Start with this roadmap.
- Read the canonical topic notes in order.
- Prioritize the highest-yield topics if time is limited.
- Finish with the cheat sheet before interviews.
- Practice giving short spoken answers for each core concept.
| File | Purpose | When to Read |
|---|---|---|
| nodejs-runtime-architecture.md | Event loop, libuv, thread pool, Node runtime model | Start here |
| nodejs-asynchronous-programming.md | Callbacks, promises, async/await, streams, async patterns | High-priority topic |
| nodejs-modules.md | CommonJS, ES Modules, resolution, caching | Core platform knowledge |
| nodejs-core-modules.md | fs, path, http, streams, process utilities |
Practical Node revision |
| nodejs-data-modeling.md | SQL vs NoSQL, relations, embedding vs referencing | Persistence design |
| nodejs-database-mongoose.md | MongoDB and Mongoose basics | NoSQL implementation |
| nodejs-database-sequelize.md | SQL and Sequelize basics | SQL implementation |
| nodejs-interview-cheat-sheet.md | Rapid-fire interview questions and model answers | Before interviews |
- nodejs-runtime-architecture.md
- nodejs-asynchronous-programming.md
- nodejs-modules.md
- nodejs-core-modules.md
- nodejs-data-modeling.md
- nodejs-database-mongoose.md
- nodejs-database-sequelize.md
- nodejs-interview-cheat-sheet.md
If time is limited, prioritize these in order:
- Event loop
- Single-threaded execution model
- Thread pool and libuv
- Callbacks, promises, async/await
- Streams
- CommonJS vs ES Modules
- Core modules
- SQL vs NoSQL tradeoffs
- Mongoose vs Sequelize
- Error handling in async code
- What is Node.js?
- Why is Node.js good for I/O-heavy apps?
- What is the event loop?
- What is the difference between synchronous and asynchronous file APIs?
- What is a module?
- How does Node.js handle concurrency with one thread?
- Difference between CommonJS and ES Modules?
- How do streams help performance?
- How do you structure async error handling?
- How do you choose SQL vs NoSQL?
- When is Node.js a bad fit?
- What role does the thread pool play?
- How would you avoid blocking the event loop?
- How would you design data boundaries for scale?
- How would you structure observability and operational resilience?
- Read nodejs-runtime-architecture.md
- Read nodejs-asynchronous-programming.md
- Review nodejs-modules.md
- Review nodejs-core-modules.md
- Finish with nodejs-interview-cheat-sheet.md
- Cover runtime architecture, async programming, and modules first
- Review core modules and common operational patterns
- Revisit persistence tradeoffs in nodejs-data-modeling.md
- Read the database implementation notes most relevant to your target stack
- End with nodejs-interview-cheat-sheet.md
- Explain Node.js as a runtime model, not just a package ecosystem
- Focus on why the event loop works well for I/O-heavy systems and where it breaks down
- Use data-modeling notes to support backend architecture answers
- Re-read only the topics you miss in mock interviews
Start from the roadmap, then use the topic files as canonical references instead of collecting overlapping summaries from multiple notes.