470,130 questions
Best practices
0
votes
1
replies
23
views
Using @fastify/rate-limit twice in the same plugin
I want two rate-limit layers in one Fastify plugin: one at 'onRequest' using IP and one at 'preHandler' using user.id. Both are registered in the same plugin. Is this safe? Is there a better way to do ...
-4
votes
0
answers
32
views
Designing Fully Isolated Per-Tenant Build & Deployment System (like Vercel/Shopify) — Architecture Guidance Needed [closed]
I’m trying to design a multi-tenant platform where each tenant (store) is deployed as a fully isolated application, similar to how platforms like Vercel or Shopify handle storefront deployments.
🎯 ...
Advice
0
votes
4
replies
26
views
Between NODE and EXPRESS
in node
const http = require('http');
in express
const express = require('express');
here http is an object
but in case of express the type is function is this right way of explanation to ...
Tooling
0
votes
1
replies
45
views
Get data from Google Maps link
How can I programmatically extract a user’s Local Guide level and avatar name (or profile name) from a Google Maps contribution link? For instance, given a URL like the one above that points to a user’...
2
votes
1
answer
77
views
Have DuckDB throw error when storing data that would result in data loss
Inserting large numbers into REAL (FLOAT4) fields in DuckDB silently results in data loss / rounding errors. I assume this happens to out-of-range values for other data types, but it's easy to run ...
0
votes
0
answers
58
views
How to customize Shaka Player quality menu to show resolutions directly instead of a nested menu?
Shortened version:
I am using Shaka Player with AWS Elemental Media Services to stream videos. The adaptive bitrate streaming is working fine, and the quality levels (4K, 1080p, 360p, etc.) are ...
1
vote
2
answers
71
views
Lambda processing SQS messages Race condition in Node.js
I’m processing webhook events using AWS Lambda + SQS, and I’m running into a race condition that causes duplicate processing, even with safeguards in place. I have tried adding unique index on orderId,...
0
votes
0
answers
25
views
Node.js async/await not waiting for external API call inside loop [duplicate]
I’m working on a Node.js backend where I process multiple webhook events and need to call an external API for each item
my code:
const processOrders = async (orders) => {
orders.forEach(async (...
Advice
0
votes
1
replies
38
views
How to score content readability with multiple algorithms in Node.js CI pipeline?
I'm building a content publishing pipeline where I need to automatically check if blog posts and product descriptions are readable enough before they go live. I need to run multiple readability ...
0
votes
0
answers
43
views
I am doing 2 database operations here and i want to combine this to 1 db operations how can i? [closed]
So this is the code, in this i have a product catalog and i am getting categories from db but when i am adding new brand then i am not getting any category so i want that if no categories found for ...
Advice
0
votes
5
replies
70
views
Advice me to learn Backend with Node.js
I'm BCA student currently in 2nd year of my college, S.R. College of Professional Studies under Bundelkhand University, Jhansi, India.
I already knew Frontend foundational knowledge with some live ...
Best practices
0
votes
0
replies
38
views
How can i use passportJS strategy with ApolloServer
I'm using the PassportJS GitHub strategy and ApolloServer. I'm opening a separate '4001' port for PassportJS and another '4000' port for GraphQL endpoints. My question is: How can I use PassportJS ...
Advice
0
votes
2
replies
60
views
is it ok to store user ssh_host , other details storing in db with encryption
I use node js , So i am creating a application for deployment with SSH or docker , for now in SSH , i do like
Asking inputs as ssh_host , ssh_user , remote path and ssh_key , however i use crypto ...
0
votes
1
answer
45
views
How to load a .node extension in an Electron application?
Under Vite 7 I load a .node addon with:
import {createRequire} from "node:module";
const rq = createRequire(import.meta.url);
const addon = rq("../build/Release/native") as ...
Tooling
0
votes
6
replies
175
views
Vibe Coding Is Also Right Way?
I am a full stack developer maked many projects through AI agents they are perfectly working and deployed but i want to ask that i dont learned node js perfectly i cant understand many things but i ...