3,397 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
3
replies
59
views
How to make Super Admin logic
i am building a restaurant management system in MERN stack for my internship. i have a problem on how to implement the super admin logic where he can do everything what other employee can do with ...
Advice
1
vote
2
replies
98
views
Tauri or Electron js
I’m starting a new project to build an ERP POS application using the MERN stack. I’m confused about whether I should use Electron.js or Tauri to turn it into a desktop/web app. Which option is better ...
0
votes
0
answers
25
views
MERN Project Backend Not Loading Data on Vercel Deployment
I’m trying to deploy my full MERN project (frontend + backend) on Vercel. The frontend works fine, but the backend is not loading data. I keep getting this error in the console:
GET https://cutomer-...
0
votes
0
answers
44
views
How to avoid JWT Refresh Token Race Condition
In my MERN app, when an API call fails with a 401, I intercept it, call the /refresh endpoint to get a new access token, and retry the original request.
The problem: if multiple API calls fail at the ...
0
votes
0
answers
35
views
How to configure Nginx for a WordPress root domain while preserving dynamic MERN app routes?
I’d appreciate some advice from experienced DevOps or full-stack engineers.
We have a SaaS product built with the MERN stack, currently running on example.com.
Current setup:
Backend API → api.example....
1
vote
0
answers
68
views
Not Able to update Single Type in Strapi
I have created a single type in my strapi named "LibraryConfig".
When I am trying to update the data in this single type using api, so the response is successfull but when I see the strapi ...
0
votes
0
answers
62
views
react-simple-code-editor scrollbar not working properly with custom CSS
I’m using react-simple-code-editor in my React app.
Deployed app: https://ai-code-reviwer-cbv1.onrender.com/
GitHub repo: https://github.com/santukumar01/real-time-tracker
The left editor box is not ...
0
votes
1
answer
57
views
Nextjs Authentication With Cookies
This is my folder structure in nextjs
my backend code login
export const loginUser = async (req, res) => {
const { email, password } = req.body;
console.log("Login attempt:", { email ...
1
vote
0
answers
53
views
req.session returns without data, session cookie exists but data missing (Express + Render/Vercel)
I’m trying to deploy a MERN stack website that I’ve been working on locally. While everything works fine locally, after deploying to Render and Vercel, I can’t access session data through req.session. ...
0
votes
1
answer
86
views
How can I save the search name and filters in react?
I have a site made using the MERN stack, and right now I am trying to save the search names and filters when the user clicks to return to the Families.jsx page.
GIF showing the problem.
Before, the ...
-1
votes
1
answer
72
views
token in cookie get lost after refreshing the page. MERN stack
i am using the mern stack to make chat app, everything works fine on the my local environment but when i deployed my site on render and vercel both, they have common problem -> after login token is ...
-1
votes
1
answer
68
views
set cookie header is available in network tab but cookie is not set
I had hosted the server on the localhost:3000 and frontend on the localhost:5173 when i send the request to the server i get the response in network tab.
using node.js in backend and react in frontend
...
0
votes
1
answer
52
views
Does copying fcmToken from one document to another document causes an error of SenderId Mismatch?
I have been working on an application whose frontend is in react-native (using expo) and backend is in express js. Now during the testing the frontend guy generates the FCM token and then send me to ...
0
votes
1
answer
130
views
My deployed MERN web app work fine on PC but not on mobile
My web app works fine on the PC but when I try to login on mobile I get error: unauthorized access, i.e, the cookies are not being set. I deployed my backend on render and frontend on vercel.
Here’s ...
0
votes
0
answers
18
views
req.query remains empty even after attempting to add a property in Express middleware [duplicate]
Body:
I'm working with Express.js, and I'm trying to add a status property to req.query in middleware, but it remains empty. Here’s my code:
Route:
router.get(
"/published",
faqController....