Node.js knowledge reference

Essential Node.js Concepts

Explore all 60 knowledge cards from one complete menu. The supplied Node.js, Express, caching, production, and senior refactoring guides have been combined into distinct concepts with concise explanations, memory formulas, examples, and practical uses.

Topic 01

1. Node.js Foundations

7 concepts

Concept 01

What is Node.js?

Back to concept menu
Concept 02

What is a runtime environment?

Back to concept menu
Concept 03

How is Node.js different from JavaScript?

Back to concept menu
Concept 04

How does Node.js work internally?

Back to concept menu
Concept 05

Why is Node.js called single-threaded?

Back to concept menu
Concept 06

When is Node.js a good choice?

Back to concept menu
Concept 07

How do you create a basic Node.js HTTP server?

Back to concept menu
Back to concept menu
Topic 02

2. Asynchronous Runtime

8 concepts

Concept 08

What is the difference between synchronous and asynchronous code?

Back to concept menu
Concept 09

How does Node.js achieve asynchronous programming?

Back to concept menu
Concept 10

How does the Node.js event loop work?

Back to concept menu
Concept 11

How is the Node.js event loop different from the browser event loop?

Back to concept menu
Concept 12

How do process.nextTick(), setImmediate(), and setTimeout() differ?

Back to concept menu
Concept 13

What is callback hell and how do you avoid it?

Back to concept menu
Concept 14

How do Promises and async/await work in Node.js?

Back to concept menu
Concept 15

How does Node.js handle asynchronous errors?

Back to concept menu
Back to concept menu
Topic 03

3. Modules and Project Configuration

5 concepts

Concept 16

What is package.json?

Back to concept menu
Concept 17

How do CommonJS and ECMAScript modules differ?

Back to concept menu
Concept 18

What happens when require() loads the same module repeatedly?

Back to concept menu
Concept 19

Which built-in Node.js modules are most useful?

Back to concept menu
Concept 20

How should environment configuration be managed?

Back to concept menu
Back to concept menu
Topic 04

4. HTTP and Express

9 concepts

Concept 21

What is the difference between Node.js and Express?

Back to concept menu
Concept 22

What is middleware in Express?

Back to concept menu
Concept 23

What do app.use() and next() do?

Back to concept menu
Concept 24

How do application-level and router-level middleware differ?

Back to concept menu
Concept 25

How does routing work in Express?

Back to concept menu
Concept 26

What is the difference between req.params, req.query, and req.body?

Back to concept menu
Concept 27

Is body-parser still required in Express?

Back to concept menu
Concept 28

How should Express handle 404s and errors?

Back to concept menu
Concept 29

How should HTTP methods and status codes be used?

Back to concept menu
Back to concept menu
Topic 05

5. Events, Buffers, and Streams

5 concepts

Concept 30

What is event-driven programming?

Back to concept menu
Concept 31

What does EventEmitter provide?

Back to concept menu
Concept 32

What is a Buffer?

Back to concept menu
Concept 33

What types of streams does Node.js provide?

Back to concept menu
Concept 34

What is backpressure in a stream?

Back to concept menu
Back to concept menu
Topic 06

6. Processes and Scaling

4 concepts

Concept 35

How do child processes work in Node.js?

Back to concept menu
Concept 36

What is the difference between clusters and worker threads?

Back to concept menu
Concept 37

How should CPU-bound work be handled?

Back to concept menu
Concept 38

How should a Node.js service shut down gracefully?

Back to concept menu
Back to concept menu
Topic 07

7. Node.js Security

6 concepts

Concept 39

How do you secure a Node.js application?

Back to concept menu
Concept 40

What is CORS and how should Express configure it?

Back to concept menu
Concept 41

How should sessions and cookies be secured?

Back to concept menu
Concept 42

How should authentication and authorization differ?

Back to concept menu
Concept 43

How do you prevent injection attacks in Node.js?

Back to concept menu
Concept 44

How do CSRF, CORS, and security headers protect different boundaries?

Back to concept menu
Back to concept menu
Topic 08

8. Production Operations

2 concepts

Concept 45

How do you optimize a Node.js service for production?

Back to concept menu
Concept 46

What observability should a Node.js API include?

Back to concept menu
Back to concept menu
Topic 09

9. Node.js Caching

7 concepts

Concept 47

What is the cache-aside pattern?

Back to concept menu
Concept 48

What are cache hits, misses, TTL, and invalidation?

Back to concept menu
Concept 49

What is a cache stampede?

Back to concept menu
Concept 50

When should you use Redis instead of an in-memory cache?

Back to concept menu
Concept 51

How does HTTP caching reduce work in a Node.js API?

Back to concept menu
Concept 52

How do you keep cached data consistent after writes?

Back to concept menu
Concept 53

How should an application handle cache failures?

Back to concept menu
Back to concept menu
Topic 10

10. Senior Architecture

7 concepts

Concept 54

How should a maintainable Node.js API be structured?

Back to concept menu
Concept 55

What are the SOLID principles in Node.js?

Back to concept menu
Concept 56

Why should controllers remain thin?

Back to concept menu
Concept 57

Why is returning inside subscribe() not an outer return?

Back to concept menu
Concept 58

How should financial values be represented?

Back to concept menu
Concept 59

Why are idempotency and failure ordering important?

Back to concept menu
Concept 60

How should a senior engineer approach an unfamiliar Node.js refactor?

Back to concept menu
Back to concept menu

Get In Touch


Ready to discuss your next project? Drop me a message.