Home > Mobile >  Is it possible to keep node.js and python codes together?
Is it possible to keep node.js and python codes together?

Time:09-24

Suppose I build a back end with node.js. I also build a dashboard that shows analysed dataset with python (seaborn or matplotlib etc). the front end is built with react.js

Is it possible to integrate the python codes with the JavaScript codes so that the dashboard is visible on the website?

CodePudding user response:

It depends on how you build your dashboard. You can try using react-chartjs and get data from running your python script on back end.

CodePudding user response:

Yes, We can Integrate Python in web throw WebAssembly, WebAssembly is now standard language in web along with HTML/CSS/JS, Where we can integrate other language code to web browser in binary form. Refer this issue for compiling python code to WebAssembly.

  • Related