Skip to main content

Questions tagged [mern]

MERN stands for Mongo, Express, React and NodeJS.

0 votes
0 answers
10 views

CORS Error Response to preflight request doesn't pass access control check: It does not have HTTP ok status

Hello i've been developing a MERN app, instead of MongoDB is MySQL, so its MySQl ERN app. My site is a simple blog, post blogs with a name, and the content of the blog. So i implemented CORS while ...
mini1012's user avatar
-2 votes
0 answers
11 views

My domain is not accessible after i switch my DNS from Netlify to Hostinger VPS (MERN Project) [closed]

I initially had my DNS set up at Netlify coz previously i was just connecting it to my github repos and hosting the vite frontends wrapping them up around my domain, but then down the line i decided ...
abdullah basarvi's user avatar
0 votes
1 answer
21 views

What should my vercel.json config file to deploy my MERN stack given my current project folder organization?

I am trying to deploy my MERN stack on vercel but I can't get much documentation on what the vercel.config file should contain. This is how my Vite (npm create vite@latest) MERN project is structured: ...
jlimsy's user avatar
  • 3
0 votes
0 answers
29 views

node and react axios 404

I kept getting 404 error in the console login.js:25 Server responded with status code: 404 [email protected]:25" the backend works fine itself but with react it keeps giving errors, I already ...
Shin Kurt's user avatar
-2 votes
0 answers
23 views

Node is creating a school management system [closed]

I just want to ask a simple question can node js create a school management system that teacher can input user result and student can also check their result and what are the technologies I can use ...
Diamond Alex's user avatar
-1 votes
0 answers
26 views

Data not Saved In MongoDb

I'm having trouble inserting a purchased course by its course ID into the user's document in the MongoDB collection using Express.js and Mongoose. The insertion does not seem to be happening correctly,...
Yadnyesh-Dashpute's user avatar
0 votes
0 answers
27 views

Hello Everyone ! i want to connect webSocket to my mern app but getting some error

i am working on realtime chat-app ... want to integrate websocket for instance chat ... but i am getting the error i am getting this kind of error (socket__io-client.js?v=6fe409f1:1018 WebSocket ...
Shoaib Rehman's user avatar
0 votes
0 answers
21 views

How to render filtered messages?

I'm working on a real-time chat project but I'm having issues rendering the filteredMessages when a user searches for a term in their conversation. The messages are correctly filtered when I right the ...
Shawn Yang's user avatar
-1 votes
1 answer
36 views

How to remove data from mongo dab using $pull operator

i am new in the field mern stack and i want your help to remove to remove comment from User data which is equal to Post data comment Post Data: { _id: new ObjectId('66985b5774dd3a87fd1be9d4'), ...
GAMING WARRIOR's user avatar
0 votes
0 answers
12 views

How to resolve this MongoDb atlas related problem that is coming in my vs code terminal

OJ PROJECT 3\backend>node server.js (node:23356) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be ...
Chhotu Kumar's user avatar
-1 votes
2 answers
26 views

index js code appears on the home page in vercel deployment

I am working on an ecommerce app using mern stack. I tried deploying it on vercel but for some reason the homepage shows the index js code and no other routes work, neither the api routes nor the ...
ISHAN JARWAL's user avatar
-4 votes
0 answers
27 views

Should I switch from WordPress to MERN, Laravel, Vue, Angular, or PHP? [closed]

I have been working as a WordPress developer for over 1 year, specializing in website design, theme customization, speed optimization, and plugin updates. My service includes E-commerce website, ...
Mehtab Buzdar's user avatar
0 votes
0 answers
42 views

MERN backend not working on other computers after deploying

I deployed my MERN stack app on Render. It's a flight management app and when I go to the website on my computer, I'm able to add new flight information and it displays it on the homepage. When I open ...
Dariel's user avatar
  • 1
1 vote
0 answers
26 views

CORS error showing even when the backend access control allow origin is set for frontend url after deployment on vercel

I have deployed my mern app's frontend and backend on vercel on 2 different url's. For backend i have set : app.use(cors({credentials : true , origin : 'https://music-app-client-five.vercel.app'})); ...
Aditya Nagare's user avatar
-1 votes
0 answers
18 views

Track is showing {} inside useEffect for my PlayerContext in React

I am building a spotify-clone , inside which the player i am building is using Player context. Everything is working fine , but i am not able to set up the functionality of playing next song when ...
Aditya Nagare's user avatar

15 30 50 per page
1
2 3 4 5
240