Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
3 questionsHow do you enable gzip/Brotli compression for HTTP responses?
Backend ยท 1.2k views ยท nodejs, http, compression
Views:1.2kLikes:54
Explain the concept of 'middleware' in Express.js.
Frontend ยท 1.0k views ยท express.js, middleware, web development
Views:1.0kLikes:34
How do you handle CORS (Cross-Origin Resource Sharing) in Node.js?
Frontend ยท 993 views ยท cors, security, express.js
Views:993Likes:50
Medium
7 questionsWhat is Helmet and which HTTP security headers should a Node.js API set?
Backend ยท 951 views ยท nodejs, security, helmet
Views:951Likes:77
How do you handle errors in Node.js applications?
Low-Level Design ยท 669 views ยท error handling, asynchronous, promises
Views:669Likes:61
How do you protect a Node.js API against Denial of Service (DoS) and brute-force attacks?
System Design ยท 624 views ยท security, api, middleware
Views:624Likes:23
How do you implement rate limiting in a Node.js Express application?
System Design ยท 566 views ยท security, express, middleware
Views:566Likes:75
How do you handle uncaught exceptions and unhandled promise rejections in Node.js?
Low-Level Design ยท 429 views ยท errors, process, best-practices
Views:429Likes:74
What is the purpose of the 'zlib' module in Node.js?
Low-Level Design ยท 299 views ยท zlib, compression, performance
Views:299Likes:36
Fastify vs Express โ how do they differ in architecture and performance?
Backend ยท 228 views ยท fastify, express, frameworks
Views:228Likes:66
Hard
2 questionsSeen a Node.js question that is not here? Add it and help the next candidate.
Share a question