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
0 votes
0 answers
31 views

How can I use webhooks to automate button clicks using Express and Puppeteer?

I need some assistance with this project. This project is to automate trading signals from webhooks and onto Tradovate using emulated button clicks. Here's what it's supposed to do: •run js app •...
IscA's user avatar
  • 59
-2 votes
0 answers
18 views

Problem with Data fetching MERN and showing it on frontend screen [closed]

I was following along this tutorial to get started with MERN and have not been able to get over a problem that I'm facing. [https://youtu.be/MEab_a19ZGk?si=lQEatLzCPJFlkMiE] This is the video I've ...
Newbie's user avatar
  • 1
0 votes
1 answer
22 views

Mongoose connection drops at all endpoints

I’ve been working on a project intermittently for some time now. Recently, after transitioning to a new computer, and router none of my endpoints respond I’ve taken several troubleshooting steps ...
Slowly_Learning's user avatar
-3 votes
1 answer
55 views

How to match req.body with update query? [closed]

The contents of a POST req.body are dynamic (unchecked checkboxes are not sent). SQL update and insert queries are hard coded, albeit with placeholders. Either I have to pad the req.body to match my ...
Dinsdale Trelawney's user avatar
0 votes
0 answers
32 views

How To Handle Lost Data Packets In TCP?

What are the proper ways to handle the TCP data packets lost during the transit? I'm developing an instant messaging application with real-time chat feature. I rely mainly on TCP (Transmission Control ...
user26341567's user avatar
0 votes
0 answers
16 views

ExpressJS autoreload with browsersync

Im trying to setup a simple express server with typescript, nodemon and browsersync. I would like it to refresh the browser everytime a node file (ts file) is changed to reflect the changes in the ...
simon's user avatar
  • 2,319
-1 votes
0 answers
14 views

express js urls calling same route.get() [closed]

"use strict" const express = require("express") const router = express.Router() require("dotenv").config() const current_file_version = process.env.CURRENT_APP_VERSION +...
iam preethi's user avatar
0 votes
0 answers
23 views

http delete request to mongodb returned no message [closed]

const express = require('express'); const router = express.Router(); const { client} = require('./db'); const { ObjectId } = require('mongodb'); router.delete('/:id', async(req,res)=&...
Samrat Patel's user avatar
1 vote
1 answer
49 views

Handling Form Data and User Registration in MERN Stack: Issues with FormData and Validation

I am working on a MERN stack application and I'm having trouble registering a new user. I have a form on the frontend that collects user data and sends it to the backend. The form data includes fields ...
yzkael's user avatar
  • 67
1 vote
0 answers
37 views

Cannot get data with Mongoose .populate()

Listing schema : const listingSchema = new Schema({ title : { type :String, required : true, }, description : String, image : { type : String, default : ...
Priya 's user avatar
  • 11
-1 votes
0 answers
20 views

Is it possible to write purely oop code in express in typescript? [closed]

I was trying to write pure oop code in the express backend as I am using typescript but I was confused that is it possible to use the pure oop in my backend ? I tried to learn using oop but got no any ...
Bharat Khatri Chhetri's user avatar
-1 votes
0 answers
37 views

Parameter \"obj\" to Document() must be an object, got \"\" (type string)

I have a problem, in Postman, the result of the request is this: This is my Model: const mongoose = require("mongoose"); const mongoosePaginate = require("mongoose-paginate-v2"); ...
Gael Maldonado's user avatar
-3 votes
0 answers
37 views

Error when trying to access property from MongoDB [closed]

When I console.log(entry), it outputs: ({ _id: new ObjectId('669c834c6e93a548837c6572'), shortId: 'NpreYDMaH', redirectURL: 'amazon.in', visitHistory: [], createdAt: 2024-07-21T03:41:00.236Z, ...
Eren's user avatar
  • 1
-1 votes
2 answers
34 views

Why does my node.js server fetch files from a different location than what's in the url?

I have two websites on my Windows Server 2022 Datacenter (a VM on AWS). I set them up in sort of an unorthodox way. The first is at http://www.planetshah.com/pwv and the other is at http://www....
gib65's user avatar
  • 1,889
0 votes
0 answers
27 views

LinkedIn API (OAUTH 2.0)

In order to login with linkedIn and retrieve some info of the user logged, i used this code in my NodeJS / ExpressJS application. I'm having trouble requesting an access token on the linkedIn ...
Amine Babaali's user avatar

15 30 50 per page
1
3 4
5
6 7
6389