Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [express]

Express.js is a minimal and flexible Node.js web application framework providing a robust set of features for building web applications.

express
-2 votes
0 answers
17 views

Node js express Events app problem how to resolve this

I have a problem with an exercise where I need to create a list of events, using Node.js, express, socket.io and AXIOS to handle POST and GET requests. Unfortunately, the creation of the event list ...
user26435452's user avatar
0 votes
0 answers
21 views

swagger-ui-express unnecessary parameter showing

I am using swagger-ui-express with swagger-autogen with the below configurations, but the req.headers.Authorization is showing as a parameter on the routes that has verifyJWT middleware and as my ...
ayex's user avatar
  • 312
1 vote
0 answers
31 views

Need help optimizing request forwarding for Node JS API

I am trying to write a front facing API route that will receive an incoming HTTP post request and forward it to a separate server of mine for processing. The reason I have this front facing API is ...
Helfer's user avatar
  • 11
0 votes
0 answers
25 views

Issue with Date Handling in Node.js and MySQL: Date Reduced by One Day

I'm experiencing an issue with date handling in my Node.js and MySQL application where the date stored in the database is correct, but when retrieved via an API, it is reduced by one day. Here are the ...
Sagara Nuwan's user avatar
0 votes
2 answers
62 views

Error uploading node.js project on azure web app through Github CI/CD

I am uploading my node.js code on Azure web app. After a lot of try, I was able to successfully do it. I am building my code on Visual Studio and pushing to Github and using CI/CD connected to Azure ...
Basu's user avatar
  • 773
1 vote
0 answers
31 views

Post form data inside an array of objects

Hello I've been working in a blog to post blogs, you can add images too For add image system i use Multer and Path. To save the image, I save it in a FormData, with its key, so Multer can read the ...
mini1012's user avatar
-4 votes
0 answers
44 views

After Running 'npn run server', this error arise [closed]

This Syntax Error is from vs-code terminal : > return new RegExp(path, flags); ^ SyntaxError: Invalid regular expression: /^function asyncUtilWrap(\.\.\.args) { const fnReturn = ...
Muhammad_Hussain's user avatar
0 votes
1 answer
21 views

uploading image in nodejs on cloudinary is not working

I am learning to upload images online using multer and Cloudinary, but for some reason the code stops working on cloudinary.uploader.upload() method. The images are getting stored at desired location ...
Gaurav Bisht's user avatar
-4 votes
0 answers
27 views

One particular route not working in express js and ejs [closed]

I am new to express and ejs and was trying to make a notes app, everything else is going all right but this particular route /files/:filename isn't working at all don't know why. Here is my express js ...
Devansh's user avatar
-1 votes
0 answers
25 views

When configuring the proxy, the error 426 (Upgrade Required) appears, Node Express React [closed]

426Error App page package.json server.js running5000 httprequest directly fetch http://localhost:5000/api/products I can confirm that I can get data from http://localhost:5000/api/products, but in ...
Rookie Van's user avatar
-2 votes
0 answers
8 views

How to Create Separate MongoDB Databases for Each Admin User and Manage Connection Strings in a MERN Stack Application [closed]

I am currently working on an inventory management system using the MERN stack (MongoDB, Express.js, React.js, Node.js). I have a requirement to create a separate MongoDB database for each admin user ...
Ivan Herald's user avatar
-1 votes
0 answers
19 views

Passport.js Error Handling Instead of throwing the error into stdout

So I Have The Current Code For Authorization (and im probably going to merge login with signup): Strategy: const passport = require("passport") const { Strategy } = require("passport-local") const ...
AmirparsaDD's user avatar
0 votes
0 answers
25 views

upload the file with form data in express but can't get the form data only show '[object Object]'

I am using express.js and multi lib to create a file upload API. client side const request = axios.create({ baseURL: import.meta.env.VITE_API_URL as any, timeout: 50000, ...
user824624's user avatar
  • 7,755
-1 votes
0 answers
26 views

admin and user interferences [closed]

please I'm working on ecomerce website (for my portfolio ) and I'm confused to keep admin , user interfaces in one project (website )or separate them . I'm using react js , express js and mysql .I'm ...
Noureddine Rabouane's user avatar
0 votes
1 answer
57 views

Getting error, WebSocket connection to 'wss://website.azurewebsites.net:8080/ws' failed: When making POST Request from React to Azure SQL server

I am having a problem with my azure web app (linux) while trying to add data into my sql database Here are the errors im getting: DataAdd.js:26 POST https://website.azurewebsites.net:5000/add-data ...
WaterProofComputer's user avatar

15 30 50 per page