Topics in this subject
11 topics
Node.js
Mental Model and Event Loop
Single-threaded architecture, Event Loop, and Non-blocking I/O.
✓Modules (CJS vs ESM)
Understanding require() vs import, and package.json configuration.
✓Core Modules (fs & path)
Working with the File System and Path modules natively.
✓Events and Streams
Event Emitters and handling massive data using Readable/Writable streams.
✓Express.js Basics and Routing
Setting up an Express server, handling HTTP methods, and routing requests.
✓Express Middleware
Understanding the request-response cycle and the power of the next() function.
✓Error Handling
Catching synchronous and asynchronous errors gracefully using a global error handler.
✓Database Integration (Mongoose vs ORMs)
Connecting Node.js to MongoDB using Mongoose and SQL using Prisma/Sequelize.
✓Authentication (JWT & bcrypt)
Hashing passwords securely and implementing stateless authentication using JSON Web Tokens.
✓Security and Gotchas
Implementing Helmet, CORS, Rate limiting, and avoiding common Express antipatterns.
✓Node.js & Express Cheat Sheet
Quick reference for common Node.js and Express snippets.
No topics match that search.