React Ja API Debugging

Job ID: 38487847

Budget: $25 – $50 USD

The Dashboard is a web application built with a React frontend and a Flask backend. It's designed to display sentiment data and market indicators. The application is currently experiencing issues with API communication between the frontend and backend.

Current Setup

Frontend: React application hosted on DigitalOcean
Backend: Flask API also hosted on DigitalOcean

CORS Configuration: Potential issues with Cross-Origin Resource Sharing (CORS) settings.
Routing: Possible misconfigurations in how API requests are being routed on the server.

Debug the API communication issue:

Verify the correct API URL is being used in the frontend.
Ensure the backend /sentiment-data route is correctly implemented and returning JSON.
Check for any middleware or server configurations that might be interfering with API requests.

Review and correct CORS settings:

Verify CORS is properly configured on the backend to allow requests from the frontend origin.

Examine server configuration:

Ensure API requests are being correctly routed to the backend application.

Access and Resources

You will be granted access to the project's GitHub repository.
Related categories: Node.js React.js