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.

38,404 questions with no upvoted or accepted answers
16 votes
2 answers
7k views

Hostname/IP does not match certificate's altnames: Host: localhost. is not in the cert's altnames: DNS:*.herokuapp.com, DNS:herokuapp.com

I have an api created and hosted on Heroku. I have my web app running on localhost. I am using NextJS for my app. I am able to access all my apis hosted on Heroku via my web app which is running on ...
BraveEvidence's user avatar
15 votes
1 answer
5k views

Use Custom Backend for Authentication in Next.js Without next-auth: A Practical Approach

I am using Next.js 13 for development and I have no experience with Server-Side Rendering (SSR). what's my problem is I have a custom backend API based on Express.js. This backend service already ...
Cono's user avatar
  • 181
13 votes
0 answers
7k views

500.1013 error when using iisnode and express

I have an express app running in my machine. I am even able to run it in production by using node server instead of issnode. When trying to make it run in iisnode I'm getting the following error ...
Alvaro's user avatar
  • 41.4k
12 votes
1 answer
2k views

ExpressJS Middleware bodyParser has very poor performance

Few days ago we added NewRelic, APM to our Rest API, which is written in NodeJS and uses EXPRESS JS as a development framework. Now we see a lot of users experience poor response times, because of ...
Shalva Kakauridze's user avatar
12 votes
2 answers
2k views

React-native node.js showing Error: Multipart: Boundary not found while uploading image using react-native-image-picker

While Uploading image , It is showing Error: Multipart: Boundary not found on node js server console here is my react native code const createFormData = async (photo, body) => { const data ...
rahul's user avatar
  • 418
12 votes
3 answers
3k views

NodeJS redis connect session ID is regenerated when it should stay persisted

I tried to use the standard session persistance with Redis in NodeJS: var express = require('express'); var RedisStore = require('connect-redis')(express); var app = module.exports = express....
Raph's user avatar
  • 121
11 votes
0 answers
530 views

How to have cache to express-graphql?

In my nodejs application I use graphql with express-graphql. I can't see any cache option that library provide. How should I do the cache for graphql requests? (I need to support get and post)
Jon Sud's user avatar
  • 11.3k
11 votes
0 answers
507 views

Express Gateway - Is data composition/aggregation possible?

I've been reading a lot but don't seem to find an answer to the question: Is it possible to do data composition, for example from 3 microservices? => Exposing an endpoint with the aggregate data on ...
MackDoms's user avatar
  • 185
10 votes
0 answers
4k views

How do I return all rows in GraphQL query?

Using: NodeJS , Express, PostgreSQL, GraphQL I can get results for one row: oneTopic: { type: TopicsType, args: { id: { type: GraphQLUUID }, }, resolve(parentValue, args) { const ...
SudoGaron's user avatar
  • 418
10 votes
0 answers
487 views

Layer.match is not a function

so i work at a startup building a backend web app using the nestJs framework (is slightly based on express) and typeorm for our Db . So we recently ran into an issue where the app literally crashes ...
Bryan Toromo's user avatar
10 votes
0 answers
3k views

ExpressJS: Pipe request directly to another server without storing it in memory

In order to separate my frontend and backend code I moved the frontend(angular app) to a simple expressJS app. Backend is a much complex Grails app serving only the APIs. To workaround the CORS(since ...
vishesh's user avatar
  • 2,015
10 votes
2 answers
2k views

How to successfully use express routing in electron project?

I am using ExpressJS in my Electron project. The routing with Express doesn't work as expected. Here is how I created the routing (in the main process): const express = require('express') const ...
Behrouz Riahi's user avatar
10 votes
2 answers
15k views

Node.js and Express - BadRequestError: request aborted

I am doing a performance test on a node.js api i have created. There is a POST endpoint that takes in an image as an input in base64. So the request payload is quite large, my test case image is ...
Kay's user avatar
  • 19.1k
9 votes
0 answers
3k views

Typeorm leftJoinAndSelect with subQuery

I have quite an issue here. I have three tables: @Entity() Vessel { @OneToMany() workOrders: WorkOrder[]; } @Entity() WorkOrder { @ManyToOne() vessel: Vessel; @OneToOne() order: Order; } ...
Chris Eikrem's user avatar
9 votes
0 answers
4k views

Nestjs / Axios HttpAgent({keepAlive: true}) causes memory leak

Hello i'm trying to figure out the problem that is cause this memory leak memory usage of ecs task u can see thee increase of memory when we use keepAlive the nestApp Runs inside a Express App ...
Penryn's user avatar
  • 123

15 30 50 per page
1
2 3 4 5
2561