Tag: nodejs
All the articles with the tag "nodejs".
Common Web Security Vulnerabilities
Published: at 04:07 PM (2 min read)Overview of three major web vulnerabilities — XSS, CSRF, and SQL Injection — with realistic attack scenarios and practical prevention methods.
Design Patterns in Node.js
Published: at 04:07 PM (3 min read)Overview of design patterns in Node.js — creational, structural, behavioral categories with focus on Singleton, Factory, Builder, Adapter, Decorator, Facade, Proxy, Observer, Command, Chain of Responsibility, and Strategy pattern examples.
Express.js – What It Is and How It Works
Published: at 04:07 PM (3 min read)Introduction to Express.js, its role as a Node.js framework, middleware system, routing, and key concepts like Inversion of Control, req.body, and template rendering.
Proper Error Handling in Express.js
Published: at 04:07 PM (4 min read)Why ad-hoc error handling fails and how to implement centralized, consistent, secure error handling in Express using custom error classes and middleware.