I’m not quite sure if my question is a duplicate, but I wasn’t able to find something helping me in my case.
Now I want to do some calculations about the timeseries for example calculate the similarity and other features of my sensordata. For that I’m using python which offers me a lot of libraries I’ve used for a long time and are easy to use.
What I’m looking for:
I’m looking for a very simple way to call my backend-timeseries-analysis-python script from the react GUI passing some variables like the length of the series. Also I want to process the returned values and safe the current values needed for normalization (like max,min) for further calculations.
So the procedure would look like the following:
Thanks for your help!
You can expose your Python scripts on a REST API which will be called by your React frontend. Database connection will be made by this API, and the response is sent to your frontend.
Answered By – Sayydika