0

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-management-react-node.vercel.app/api/customers 404 (Not Found)
  1. Backend is built with Express.

  2. Both frontend and backend are in the same repository.

  3. I tried many solutions (adjusting routes, using environment variables, checking CORS), but nothing worked.

  4. I managed to get the frontend working correctly, but the backend still fails.

Repo: https://github.com/Safeya-Yasien/cutomer-management-react-node
Demo: https://cutomer-management-react-node.vercel.app/

asked Nov 10, 2025 at 9:48

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.