Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
6 questionsHow do you handle CORS (Cross-Origin Resource Sharing) in Node.js?
Frontend ยท 993 views ยท cors, security, express.js
What does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 957 views ยท nodejs, tooling, dx
What are the main security risks of using the 'eval()' function in Node.js?
Phone Screen ยท 814 views ยท security, best-practices, eval
What is the node:util parseArgs helper for building CLIs?
Backend ยท 226 views ยท nodejs, cli, parseargs
What does the Node.js `--env-file` flag do, and does it replace dotenv?
Backend ยท 71 views ยท env-file, dotenv, configuration
How do you handle environment variables in Node.js?
Phone Screen ยท 50 views ยท environment variables, configuration, security
Medium
9 questionsHow do you manage configuration in a Node.js application for different environments?
Low-Level Design ยท 1.1k views ยท configuration, environment variables, deployment
What are some best practices for structuring a Node.js project?
System Design ยท 1.1k views ยท best practices, project structure, architecture
What is Helmet and which HTTP security headers should a Node.js API set?
Backend ยท 951 views ยท nodejs, security, helmet
What are the differences between npm, Yarn, and pnpm?
Backend ยท 863 views ยท nodejs, npm, pnpm
How do you protect a Node.js API against Denial of Service (DoS) and brute-force attacks?
System Design ยท 624 views ยท security, api, middleware
How do you implement rate limiting in a Node.js Express application?
System Design ยท 566 views ยท security, express, middleware
How do you run TypeScript directly in Node.js (native type stripping, tsx, ts-node)?
Backend ยท 533 views ยท nodejs, typescript, tooling
What are some common security best practices in Node.js applications?
System Design ยท 391 views ยท security, best practices, authentication
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question