Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
4 questionsExplain the concept of 'middleware' in Express.js.
Frontend ยท 1.0k views ยท express.js, middleware, web development
How do you handle CORS (Cross-Origin Resource Sharing) in Node.js?
Frontend ยท 992 views ยท cors, security, express.js
How can you securely store and verify passwords in a Node.js application?
Phone Screen ยท 340 views ยท security, crypto, auth
What is semantic versioning and how do ^, ~, and exact versions behave?
Backend ยท 280 views ยท nodejs, npm, semver
Medium
9 questionsHow do you manage sessions and authentication in a Node.js web application?
Frontend ยท 1.1k views ยท authentication, sessions, jwt
What is Helmet and which HTTP security headers should a Node.js API set?
Backend ยท 947 views ยท nodejs, security, helmet
Explain how the 'crypto' module secures sensitive data in Node.js
Low-Level Design ยท 765 views ยท crypto, security, hashing
How do you implement rate limiting in a Node.js Express application?
System Design ยท 564 views ยท security, express, middleware
What are some common security best practices in Node.js applications?
System Design ยท 390 views ยท security, best practices, authentication
What is the difference between JWT and session-based authentication, and where do refresh tokens fit?
Backend ยท 384 views ยท nodejs, security, jwt
How do you handle database connection pooling in a Node.js application?
System Design ยท 382 views ยท database, performance, architecture
Explain what 'callback hell' is and how to avoid it.
DSA ยท 207 views ยท callbacks, asynchronous, promises
Hard
3 questionsWhat is SSRF and how do you mitigate it in a Node.js backend?
Backend ยท 830 views ยท nodejs, security, ssrf
What is the package.json "exports" field and conditional exports?
Backend ยท 404 views ยท nodejs, esm, packaging
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question