Skip to content

Fixed feedback submission API and CORS issues#277

Open
sargamjain5 wants to merge 2 commits into
lovelymahor:mainfrom
sargamjain5:fix-feedback-cors-api
Open

Fixed feedback submission API and CORS issues#277
sargamjain5 wants to merge 2 commits into
lovelymahor:mainfrom
sargamjain5:fix-feedback-cors-api

Conversation

@sargamjain5
Copy link
Copy Markdown

Bug Fix: Feedback Submission API & CORS Issues

Issue Fixed

Closes #234

Changes Made

  • Fixed feedback submission API connectivity
  • Added proper CORS configuration in Express backend
  • Fixed frontend API URL handling
  • Added .env based frontend API configuration support
  • Frontend API URL can now be configured using the REACT_APP_API_URL environment variable
  • Fixed MongoDB environment variable setup
  • Improved feedback route validation and error handling

Testing Done

  • Successfully tested feedback submission locally
  • Verified MongoDB database storage
  • Verified frontend-backend communication
  • Checked for console/API errors

Additional Notes

This fix resolves the issue where feedback submission was failing due to backend API and CORS configuration problems.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

@sargamjain5 is attempting to deploy a commit to the Lovely Mahour's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Feedback button does not respond when clicked — no action triggered

1 participant