GRNsight icon indicating copy to clipboard operation
GRNsight copied to clipboard

Establish how the React app will invoke the existing API

Open dondi opened this issue 5 months ago • 3 comments

Continuing our buildout, we should establish how the React app communicates with the existing API

dondi avatar Sep 24 '25 18:09 dondi

@ceciliazaragoza will start on API integration this week. We identified the following starting points:

  • Invoking the demo endpoints and showing that the new app receives the JSON
  • Invoking the Load from Database modal and showing that the new app can populate the dropdown correctly, eventually performing a search

We will start these endpoints and proceed from there

dondi avatar Oct 08 '25 18:10 dondi

I am able to invoke the existing API locally and console.log the demo content by switching the demo in the sidebar. I need to further develop the CORS configuration so that the localhost server can be accessed from both localhost:5001 and localhost:5173.

ceciliazaragoza avatar Oct 15 '25 17:10 ceciliazaragoza

@ceciliazaragoza has set this up to interact with the API locally, and now needs to ensure that it works in both local and deployed environments #1265

dondi avatar Nov 05 '25 19:11 dondi