Closed phara23 closed 6 years ago
Right now we have the users that match a given query being returned to our website but I am struggling to display this list in the current react-rebind framework we are using in Search.js. In seems react-rebind has limited documentation so figuring out how to plug what we want into it is proving hard. Could it be worth switching to another framework for dynamically binding data to our page that has more readily available documentation?
This issue is definitely closed. We should work on closing issues in a more timely manner (my fault).
We would like the influencers displayed in the website to correspond to actual influencers in our local Elasticsearch database that match the given query text entered on the site.
We can do this by altering BigSearchBox.js and adding some code to searchHandler handleKeyPress that updated resources.influencer.results to correspond to actual influencers in our database. We can invoke our python backend within a flask REST api that can be invoked from JS as in the following example: https://stackoverflow.com/questions/32288722/call-python-function-from-js