Skip to main content

All Questions

0 votes
3 answers
48 views

Why is my server not logging a login session?

For some context: I'm trying to make a basic login system. At the moment, signing up works with no problems. Logging in also seems to be okay, it makes a connection with the database properly - ...
phoenix56's user avatar
0 votes
2 answers
47 views

post route is not working in my express js project

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 ...
H Hasan's user avatar
  • 63
0 votes
1 answer
45 views

Where does "res.send" go when fulfilling a post request from within a default form?

Let's say I have a form (written in JSX) being sent to an Express server: <form id="log-in-form-itself" action="/submit-form" method="post"> <label htmlFor=&...
ProfessorFinesse's user avatar
0 votes
2 answers
139 views

How to display API response in HTML

While I fetched the data successfully, I cannot manage to display the data to an HTML efficiently. The only way that that it works(how far I've gotten) is with two endpoints. Where one endpoint is to ...
harrnui's user avatar
0 votes
0 answers
66 views

How to Show a Blur Effect on My Screen Visible to All Connected Users?

I'm trying to implement a blur effect on my screen that should be visible to all other users connected to the video stream. Currently, the blur effect only shows on my own screen and not on others' ...
Hamza's user avatar
  • 11
-1 votes
1 answer
57 views

node.js API not loading environment variable correctly for azure cosmos mongoDB connection string

I have a microsoft azure database and have an api made with typescript to run on a node.js server, when i tested the api the night before all was working, wake up this morning and i keep getting an ...
jordanc-j's user avatar
0 votes
0 answers
29 views

Hosting client react app with npm start equivalent to server side rendering?

I'm figuring out how to host a React, Node and Express app. If I take the react client that I've got and run npm start on AWS Lightsail, is that considered server side rendering, and would it be a ...
JobHunter69's user avatar
  • 2,308
1 vote
3 answers
927 views

Express.js server .get() not responding on localhost

I'm currently learning web development and working with Express.js and Node.js. The issue I'm encountering is when I try to access http://localhost:3000/ or http://localhost:3001/ (I've also tried ...
Davie10863's user avatar
2 votes
1 answer
46 views

Why check both req.isAuthenticated() and req.user in Passport Oauth 2.0 authentication?

Why check both req.isAuthenticated() & req.user for authentication in Passport Oauth 2.0? I believe req.isAuthenticated() alone is enough for social sign-in. I see others using both, but I don't ...
Rahul Kumar's user avatar
0 votes
0 answers
126 views

pm2 not startng a nodejs express application properly on AWS EC2 AmazonLinux2

I have an AWS EC2 instance running AmazonLinux2, where I want to launch a nodejs express application. Everything worked fine until I had to run the appplication with PM2 with sudo, as I am running it ...
LeEmpereur's user avatar
0 votes
1 answer
40 views

at the time of downloading files from s3 bucket one file is not able to download

anthi:_anti_hair_thinning_hair_spray.png this the file name in s3 when it downloaded using s3 client it save file with name anthi and with 0kb also file type shows file , wherever in s3 it is 100kb ...
Abhinav's user avatar
-1 votes
2 answers
560 views

Cross-Origin Request Blocked on Ubuntu Webserver, regardless of Access-Control-Allow-Origin Headers

the following problem. I have an Ubuntu web server running a React app. In particular, there are two files in the server file that process the requests made by the website. For some reason, however, ...
LeonOhneH's user avatar
-1 votes
2 answers
2k views

Property 'ɵunwrapWritableSignal' does not exist on type 'typeof import_modules/@angular/core/core")'. how to resolve this angular error in html files

automatically show this error in my all angular html page how to resolve this anyone suggest plz. i am use node version 14.17.4 and my angular version is 15. Property 'ɵunwrapWritableSignal' does not ...
Darshan Dholakiya's user avatar
0 votes
0 answers
44 views

Lagging issue in collaborative drawing app (React and socketio)

I am trying to make a collaborative drawing app using react and socketio which helps in real-time drawing. When there is a single user the canvas is working smoothly without any lag but whenever any ...
Prerit Agrawal's user avatar
-1 votes
1 answer
43 views

server crashes when I request any data from mangodb second or third time

this is my code write is vs code. const express=require("express"); const app= express(); const mongoose=require("mongoose"); const Listing=require("./models/listings"); ...
Vicky Giram's user avatar

15 30 50 per page
1
2 3 4 5
15