Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
80 views

I'm running a express server and render a list. This is the code of the route: try { let result = await servCollections.prepareDataForListCollections(); let colls = result.data; let ...
mollpete's user avatar
1 vote
0 answers
13 views

i have a problem to connect with server when using electron builder so i guess the electron cant find the server file server.js in the root there is client server folders and main.js package.json main....
AnasEll's user avatar
  • 11
-1 votes
1 answer
75 views

I have an expressjs app behind nginx server already importing and using cors module. var express = require("express"); var cors = require("cors"); var app = express(); var ...
Waleed93's user avatar
  • 1,332
1 vote
0 answers
61 views

I create a user on the login page and hash this password with Argon2 but when I compare it, it does not match the password. The hashed password is shown in the database and I can also see the plain ...
Enes Şirin's user avatar
0 votes
0 answers
40 views

When I cache multiple Sequelize instances while sharing the same models (entities), the last cached instance in memory overrides the Sequelize instance of the models from the previous cache. for ...
Anandhu Suresh's user avatar
0 votes
0 answers
59 views

I have an apache server that is reachable from outside my local network, named interfaceserver.com. I also have an express server in my local network, named localserver. In apache configuration of ...
tony_merguez's user avatar
0 votes
0 answers
30 views

I want to be able to delete files from the Autodesk Viewer. When I delete them - I want them to disappear from my dropdown and not appear as "Model not translated". I was using the code from ...
Mahzabin Rashid Fariha's user avatar
0 votes
1 answer
77 views

I try to do a login via a LocalStrategy in Passport, but the serializeUser and deserializeUser functions don't seem to be called at all. The versions of the ‘Relevant’ packages are: "express"...
Teyrox's user avatar
  • 315
0 votes
1 answer
50 views

const ErrorHandler = (err, req, res, next) => { logging.error(err); let message = 'An error occured, please try again.'; let statusCode = 500; const response = { success: ...
Hope 's user avatar
  • 11
0 votes
2 answers
64 views

Here is the code for the index.js of my expressjs project. I'm new to Node.js and trying to understand how to develop a web app using MERN Stack. import express from "express"; import ...
Hashibul Hasan's user avatar
0 votes
2 answers
64 views

I set cookies in NodeJS with the following code: const session = require('express-session'); const MongoDBStore = require('connect-mongodb-session')(session); const max_session_ms = 365 * 24 * 60 * ...
ginjaemocoes's user avatar
  • 4,652
0 votes
0 answers
38 views

I was making this application using MERN stack. But what I want to know is, how are multiple images persisted in my mongoDB atlas, and how do I fetch them sequentially. I came up with an idea to store ...
Isru_Crasus's user avatar
0 votes
0 answers
65 views

About my architecture: I have a backend with Express.js and a frontend with Next.js. I have massive problems with my CSRF cookie. I create it in Express.js and send it to Next.js (Client). Here it is ...
Hannes's user avatar
  • 11
1 vote
1 answer
52 views

I have a Vue 3 app hosted on Netlify, and the backend is hosted on Heroku. The login is a simple /login endpoint made with Express and Sequelize. It works well on desktop, but when I try to log in on ...
Luis's user avatar
  • 9
0 votes
0 answers
44 views

I have an Express.js backend running on http://localhost:8000 and a Next.js frontend (App Router) running on http://localhost:3000. What Works: • When making a request from a Next.js client ...
Giorgi Shalamberidze's user avatar
-2 votes
1 answer
70 views

As I implement passport's Google OAuth2.0 strategy, I realized I need the callback to hit the server, then from there, I can redirect to a different page depending on if the user needs to finish ...
LUKER's user avatar
  • 532
0 votes
1 answer
225 views

I am currently working on an express app (API) which I now want to convert to use the serverless framework so I can deploy on AWS Lambda. I have done this before and did not have too many issues. I ...
dividebyzero's user avatar
0 votes
1 answer
64 views

Having a really hard time setting up a breakpoint for debugger in VSCode to a very simple express project which uses tsx. I have 3 files inside my src directory src/app.ts import express, { ...
PirateApp's user avatar
  • 6,362
1 vote
3 answers
2k views

I'm working with a TypeScript project where I have two files: index.ts - This file contains the main application logic. index.d.ts - This file is where I declare global types. In my index.d.ts, I'm ...
Naga mani kanta manam's user avatar
1 vote
0 answers
274 views

am integrating PayPal's REST API for processing payments in my React.js application, using the sandbox environment. While creating an order works fine, capturing the payment fails with the following ...
Mahmoud Alaa's user avatar
2 votes
1 answer
1k views

I'm trying to use Zod to perform Schema Validation on a FormData Object which has multiple files (HTML file input element with multi-select) in an Express App. When the Schema is validated, it appears ...
RobertFrenette's user avatar
0 votes
0 answers
154 views

I am building a full-stack application using React on the frontend and Express with GraphQL on the backend. I need to handle errors in my GraphQL mutation and pass the appropriate status codes (like ...
Mr.Unforgettable's user avatar
-1 votes
1 answer
68 views

Here is my code const app = express(); const limiter = rateLimit({ windowMs: 1 * 60 * 1000, // 15 minutes limit: 60, // Limit each IP to 100 requests per `window` (here, per 15 minutes). });...
Sathesh Kumar's user avatar
0 votes
0 answers
564 views

I'm trying to integrate the Meta WhatsApp Cloud API in my Node.js + Express project to send a registration confirmation message after a user signs up. However, I am encountering an error: (#100) ...
Sujay K C's user avatar
0 votes
1 answer
49 views

I am interested in creating (for testing purposes) a fake client that mimics a browser accessing a route in a Node.js HTTP server. In the minimal example below, I am able to point an actual browser to ...
P. Lewis's user avatar

1
3 4
5
6 7
1900