MERN Stack Interview Notes
Prepared for Quick Interview Revision
1. MERN Stack
MERN = MongoDB, [Link], [Link], [Link]. MongoDB is the database, Express is the
backend framework, React is the frontend library, and [Link] provides the runtime environment.
2. JavaScript Concepts
• var, let, const
• Hoisting
• Closure
• Scope (Global, Function, Block)
• Event Loop
• Promise, Async/Await
• Destructuring
• Spread & Rest Operators
• Higher Order Functions
• Map, Filter, Reduce
3. Closure Example
A closure is a function that remembers variables from its outer scope even after the outer function
has executed.
4. Promise vs Async/Await
Promises handle asynchronous operations. Async/Await provides cleaner syntax over promises
and makes code easier to read.
5. React Important Questions
• Functional vs Class Components
• useState, useEffect, useMemo, useCallback
• Props vs State
• React Lifecycle
• Virtual DOM
• Context API
• Redux Basics
• Controlled vs Uncontrolled Components
• React Router
6. [Link] & Express
• Middleware
• JWT Authentication
• REST APIs
• CORS
• Error Handling
• File Upload with Multer
• Nodemailer
• OAuth Authentication
7. MongoDB
• Collections & Documents
• CRUD Operations
• Indexing
• Aggregation Pipeline
• Mongoose Schema & Models
• populate()
• Embedding vs Referencing
8. Frequently Asked Interview Questions
• Difference between null and undefined?
• What is type coercion?
• What is JWT and how does it work?
• Difference between Authentication and Authorization?
• What is CORS?
• What is WebRTC?
• What is Webpack?
• Why [Link] over React?
• Server-side Rendering benefits?
9. HR Introduction Sample
My name is Saloni Sharma. I work on ERP solutions and web applications. I have experience
working with national and international clients. My core skills include MongoDB, [Link],
[Link], [Link], JavaScript, API development, and ERP implementation. I enjoy solving business
problems through technology and continuously improving my technical skills.