Tag

backend

17 posts

WebSockets with Socket.io in Node.js

WebSockets with Socket.io in Node.js

WebSocket vs HTTP Traditional HTTP follows a request/response model — the client…

Testing Node.js — Unit, Integration, and E2E

Testing Node.js — Unit, Integration, and E2E

Testing Strategy A solid testing strategy follows the testing pyramid — many…

Redis — Caching, Sessions, Pub/Sub in Node.js

Redis — Caching, Sessions, Pub/Sub in Node.js

Why Redis for Node.js Redis is an in-memory data store that serves as a cache…

Database Integration — PostgreSQL with Node.js

Database Integration — PostgreSQL with Node.js

Choosing Your PostgreSQL Client Node.js has three main approaches to working…

Performance Optimization and Profiling in Node.js

Performance Optimization and Profiling in Node.js

Profiling First, Optimize Second Never optimize blindly. Always profile to find…

Node.js Architecture — Event Loop Deep Dive

Node.js Architecture — Event Loop Deep Dive

Why the Event Loop Matters Node.js runs JavaScript on a single thread, yet…

MongoDB with Mongoose — Patterns and Pitfalls

MongoDB with Mongoose — Patterns and Pitfalls

Schema Design Philosophy MongoDB schema design is fundamentally different from…

Message Queues with RabbitMQ and SQS in Node.js

Message Queues with RabbitMQ and SQS in Node.js

Why Message Queues Message queues decouple producers from consumers, enabling…

File Uploads and S3 Integration in Node.js

File Uploads and S3 Integration in Node.js

File Upload Architecture There are two main patterns for handling file uploads…

Error Handling and Logging in Production Node.js

Error Handling and Logging in Production Node.js

Error Handling Strategy Production error handling has two goals: give clients…

Docker and Containerization for Node.js

Docker and Containerization for Node.js

Why Docker for Node.js Docker eliminates “works on my machine” problems by…

Building REST APIs with Express and Nest.js

Building REST APIs with Express and Nest.js

Two Paths to Building APIs Express.js and Nest.js represent two philosophies for…

Real Project — Build a Production Node.js API

Real Project — Build a Production Node.js API

What We’re Building A production-ready Task Management API that demonstrates…

Drupal 8: How to Export and Import View

Drupal 8: How to Export and Import View

You have created some views, and want to port it to your production environment…

Youtube API in NodeJs, Usage with Example

Youtube API in NodeJs, Usage with Example

This library is ES6, promise compatible. Or, in your package.json file, include…

Jquery validate submitHandler not getting called

Jquery validate submitHandler not getting called

Code that I have is: It was: I changed it to: So, I needed to change button type…

Explaining issue: response to preflight request doesn't pass access control check

Explaining issue: response to preflight request doesn't pass access control check

You are developing a nodejs web application having some UI and backend APIs…